]> git.eshelyaron.com Git - emacs.git/commitdiff
message.el (message-display-completion-list): Abolish
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 17 Sep 2013 09:24:02 +0000 (09:24 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 17 Sep 2013 09:24:02 +0000 (09:24 +0000)
lisp/gnus/ChangeLog
lisp/gnus/message.el

index ab969d3d5fb58b38eb7b847969c785dbdccc754c..99c2f85ee6c9850178a28e1d79eea98287427633 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * message.el (message-display-completion-list): Abolish.
+       (message-completion-in-region): Use display-completion-list.
+
 2013-09-17  Glenn Morris  <rgm@gnu.org>
 
        * gnus-util.el (gnus-message-with-timestamp-1):
index ba4593fad45079ea3e585a878d9ac58741a408ff..a458b3fc25bd99fdf82c57581d44ae33cfb44e05 100644 (file)
@@ -7947,17 +7947,6 @@ those headers."
         ;; falling back to message-tab-body-function.
         (lambda () (funcall fun) 'completion-attempted)))))
 
-(eval-and-compile
-  (condition-case nil
-      (with-temp-buffer
-       (let ((standard-output (current-buffer)))
-         (eval '(display-completion-list nil "")))
-       (defalias 'message-display-completion-list 'display-completion-list))
-    (error ;; Don't use `wrong-number-of-arguments' here because of XEmacs.
-     (defun message-display-completion-list (completions &optional ignore)
-       "Display the list of completions, COMPLETIONS, using `standard-output'."
-       (display-completion-list completions)))))
-
 (defun message-expand-group ()
   "Expand the group name under point."
   (let ((b (save-excursion
@@ -8012,8 +8001,7 @@ those headers."
               (let ((buffer-read-only nil))
                 (erase-buffer)
                 (let ((standard-output (current-buffer)))
-                  (message-display-completion-list (sort completions 'string<)
-                                                   string))
+                  (display-completion-list (sort completions 'string<)))
                 (setq buffer-read-only nil)
                 (goto-char (point-min))
                 (delete-region (point)