[gnus git] branch master updated: m0-7-227-gb17fb4d =1= message.el (message-display-completion-list): Abolish

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b17fb4d158d3edfb0d4027c8d493c1fff8eeac18 (commit)
      from  59ae8dfb4567422b3f35baf4fb00c5c57120e244 (commit)


- Log -----------------------------------------------------------------
commit b17fb4d158d3edfb0d4027c8d493c1fff8eeac18
Author: Katsumi Yamaoka <[email protected]>
Date:   Tue Sep 17 09:23:50 2013 +0000

    message.el (message-display-completion-list): Abolish

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d8b0a8f..ee77808 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-17  Katsumi Yamaoka  <[email protected]>
+
+	* message.el (message-display-completion-list): Abolish.
+	(message-completion-in-region): Use display-completion-list.
+
 2013-09-17  Glenn Morris  <[email protected]>
 
 	* gnus-util.el (gnus-message-with-timestamp-1):
diff --git a/lisp/message.el b/lisp/message.el
index 4878dc3..7f376e6 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -7991,17 +7991,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
@@ -8056,8 +8045,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)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    5 +++++
 lisp/message.el |   14 +-------------
 2 files changed, 6 insertions(+), 13 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.