diff options
author | Colin Walters <walters@gnu.org> | 2002-03-27 22:19:40 +0000 |
---|---|---|
committer | Colin Walters <walters@gnu.org> | 2002-03-27 22:19:40 +0000 |
commit | 92fe1ce8b4fefaee19a523218ae123d7fce1a22d (patch) | |
tree | 28200167aaa07268bd924e53e33fe356ea02b25a /lisp | |
parent | 1479934dea69a9c87ccb5d46569740aba239709b (diff) | |
download | emacs-92fe1ce8b4fefaee19a523218ae123d7fce1a22d.tar.gz |
(sorter mode-name): Doc fix.
(ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ibuf-ext.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 58240deb162..d1e62154217 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -702,7 +702,7 @@ Ordering is lexicographic." (define-ibuffer-sorter mode-name "Sort the buffers by their mode name. Ordering is lexicographic." - (:description "mode name") + (:description "major mode name") (string-lessp (downcase (with-current-buffer (car a) @@ -1014,10 +1014,7 @@ You can then feed the file name(s) to other commands with C-y. (ibuffer-mark-on-buffer #'(lambda (buf) (with-current-buffer buf - (or - (eq major-mode 'apropos-mode) - (eq major-mode 'help-mode) - (eq major-mode 'info-mode)))))) + (memq major-mode ibuffer-help-buffer-modes))))) ;;;###autoload (defun ibuffer-mark-old-buffers () |