(erc-input-message): Conditionalize previous change for XEmacs.

This commit is contained in:
Glenn Morris 2009-01-16 03:32:10 +00:00
parent 7d8345daad
commit 64bd06a818
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2009-01-16 Glenn Morris <rgm@gnu.org>
* erc.el (erc-input-message): Conditionalize previous change for XEmacs.
* erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
behind fboundp test.

View file

@ -3708,7 +3708,9 @@ If FACE is non-nil, it will be used to propertize the prompt. If it is nil,
(let ((minibuffer-allow-text-properties t)
(read-map minibuffer-local-map))
(insert (read-from-minibuffer "Message: "
(string last-command-event) read-map))
(string (if (featurep 'xemacs)
last-command-char
last-command-event)) read-map))
(erc-send-current-line)))
(defvar erc-action-history-list ()