diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2013-09-17 09:24:02 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2013-09-17 09:24:02 +0000 |
commit | 4a8bb694aabeb4dc4d14ff417508e182bc1f9148 (patch) | |
tree | b4db7fbb2517b137de603c5838a2a461e4407545 /lisp/gnus/message.el | |
parent | baed360360debdbe4926f69be41108890f394540 (diff) | |
download | emacs-4a8bb694aabeb4dc4d14ff417508e182bc1f9148.tar.gz |
message.el (message-display-completion-list): Abolish
Diffstat (limited to 'lisp/gnus/message.el')
-rw-r--r-- | lisp/gnus/message.el | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index ba4593fad45..a458b3fc25b 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -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) |