* ibuffer.el (mode column): Use format-mode-line.
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.
(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
(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)
('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