1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

* ibuf-ext.el (mode-name sorter, ibuffer-mark-by-mode-regexp):

* ibuffer.el (mode column): Use format-mode-line.
This commit is contained in:
Stefan Monnier 2008-01-03 22:01:45 +00:00
parent f86228e36c
commit 9dfee9c271
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
* ibuf-ext.el (mode-name sorter, ibuffer-mark-by-mode-regexp):
* ibuffer.el (mode column): Use format-mode-line.
* server.el (server-create-window-system-frame): Remove workaround for
a bug that has been fixed.

View File

@ -1134,11 +1134,11 @@ Ordering is lexicographic."
(string-lessp (downcase
(with-current-buffer
(car a)
mode-name))
(format-mode-line mode-name)))
(downcase
(with-current-buffer
(car b)
mode-name))))
(format-mode-line mode-name)))))
;;;###autoload (autoload 'ibuffer-do-sort-by-alphabetic "ibuf-ext")
(define-ibuffer-sorter alphabetic
@ -1386,7 +1386,7 @@ You can then feed the file name(s) to other commands with \\[yank]."
(ibuffer-mark-on-buffer
#'(lambda (buf)
(with-current-buffer buf
(string-match regexp mode-name)))))
(string-match regexp (format-mode-line mode-name))))))
;;;###autoload
(defun ibuffer-mark-by-file-name-regexp (regexp)

View File

@ -1722,7 +1722,7 @@ If point is on a group name, this function operates on that group."
('mouse-face 'highlight
'keymap ibuffer-mode-name-map
'help-echo "mouse-2: filter by this mode"))
(format "%s" mode-name))
(format-mode-line mode-name))
(define-ibuffer-column process
(:summarizer