mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(sorter mode-name): Doc fix.
(ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
This commit is contained in:
parent
60356fb51b
commit
0fcbf8d601
1 changed files with 2 additions and 5 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue