Mercurial > hg > xemacs-beta
comparison src/editfns.c @ 2862:b95fe16005fd
[xemacs-hg @ 2005-07-17 20:08:40 by aidan]
Restore the last argument to event-to-character, document that it's unused.
author | aidan |
---|---|
date | Sun, 17 Jul 2005 20:08:48 +0000 |
parents | a25c824ed558 |
children | 0a63e5de7bdc |
comparison
equal
deleted
inserted
replaced
2861:cf9f69706740 | 2862:b95fe16005fd |
---|---|
108 Bytecount len; | 108 Bytecount len; |
109 Ibyte str[MAX_ICHAR_LEN]; | 109 Ibyte str[MAX_ICHAR_LEN]; |
110 | 110 |
111 if (EVENTP (character)) | 111 if (EVENTP (character)) |
112 { | 112 { |
113 Lisp_Object ch2 = Fevent_to_character (character, Qt, Qnil); | 113 Lisp_Object ch2 = Fevent_to_character (character, Qt, Qnil, Qnil); |
114 if (NILP (ch2)) | 114 if (NILP (ch2)) |
115 invalid_argument | 115 invalid_argument |
116 ("key has no character equivalent:", Fcopy_event (character, Qnil)); | 116 ("key has no character equivalent:", Fcopy_event (character, Qnil)); |
117 character = ch2; | 117 character = ch2; |
118 } | 118 } |