Mercurial > emacs
changeset 44186:9ea4e6199d1c
(sorter mode-name): Doc fix.
(ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Wed, 27 Mar 2002 22:19:40 +0000 |
parents | c4de5a5d6ecb |
children | 65437de0940f |
files | lisp/ibuf-ext.el |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ibuf-ext.el Wed Mar 27 22:19:24 2002 +0000 +++ b/lisp/ibuf-ext.el Wed Mar 27 22:19:40 2002 +0000 @@ -702,7 +702,7 @@ (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 @@ (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 ()