]> git.eshelyaron.com Git - emacs.git/commitdiff
(erc-input-message): Conditionalize previous change for XEmacs.
authorGlenn Morris <rgm@gnu.org>
Fri, 16 Jan 2009 03:32:10 +0000 (03:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 16 Jan 2009 03:32:10 +0000 (03:32 +0000)
lisp/erc/ChangeLog
lisp/erc/erc.el

index d56947d5e71d683689aa87f4250f53190caea48d..f7bb78cb2454aae1c8116c673a5937ad41261cea 100644 (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.
 
index 756ecef14fda1cf6171e8212048807b9b5b9fb7d..8a1a8671d6965e8ee415b2a0a91c6c20849fffe1 100644 (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 ()