diff options
| author | Colin Walters | 2002-06-09 00:16:29 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-06-09 00:16:29 +0000 |
| commit | 63e0bf5e28f04a60f4767fa2388aa7b6882ae4cc (patch) | |
| tree | d86dc4f95e3a13a8d063f3f3101875858d9e0cc6 | |
| parent | 6635cf6e499d8f72ce0436e2912374a28ddba3bd (diff) | |
| download | emacs-63e0bf5e28f04a60f4767fa2388aa7b6882ae4cc.tar.gz emacs-63e0bf5e28f04a60f4767fa2388aa7b6882ae4cc.zip | |
(ibuffer-mode): Do set `font-lock-defaults', and be sure to set
`font-lock-core-only'.
(ibuffer-compile-format): Don't pass third argument to column functions.
(filename-and-process): Ditto.
| -rw-r--r-- | lisp/ibuffer.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 3c9bf9eb679..dc3239fa740 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -1451,7 +1451,7 @@ If point is on a group name, this function operates on that group." | |||
| 1451 | ;; generate a call to the column function. | 1451 | ;; generate a call to the column function. |
| 1452 | (ibuffer-aif (assq sym ibuffer-inline-columns) | 1452 | (ibuffer-aif (assq sym ibuffer-inline-columns) |
| 1453 | (nth 1 it) | 1453 | (nth 1 it) |
| 1454 | `(,sym buffer mark (current-buffer)))) | 1454 | `(,sym buffer mark))) |
| 1455 | ;; You're not expected to understand this. Hell, I | 1455 | ;; You're not expected to understand this. Hell, I |
| 1456 | ;; don't even understand it, and I wrote it five | 1456 | ;; don't even understand it, and I wrote it five |
| 1457 | ;; minutes ago. | 1457 | ;; minutes ago. |
| @@ -1624,7 +1624,7 @@ If point is on a group name, this function operates on that group." | |||
| 1624 | 1624 | ||
| 1625 | (define-ibuffer-column filename-and-process (:name "Filename/Process") | 1625 | (define-ibuffer-column filename-and-process (:name "Filename/Process") |
| 1626 | (let ((proc (get-buffer-process buffer)) | 1626 | (let ((proc (get-buffer-process buffer)) |
| 1627 | (filename (ibuffer-make-column-filename buffer mark ibuffer-buf))) | 1627 | (filename (ibuffer-make-column-filename buffer mark))) |
| 1628 | (if proc | 1628 | (if proc |
| 1629 | (concat (propertize (format "(%s %s) " proc (process-status proc)) | 1629 | (concat (propertize (format "(%s %s) " proc (process-status proc)) |
| 1630 | 'font-lock-face 'italic) | 1630 | 'font-lock-face 'italic) |
| @@ -2380,6 +2380,9 @@ will be inserted before the group at point." | |||
| 2380 | (setq show-trailing-whitespace nil) | 2380 | (setq show-trailing-whitespace nil) |
| 2381 | (set (make-local-variable 'revert-buffer-function) | 2381 | (set (make-local-variable 'revert-buffer-function) |
| 2382 | #'ibuffer-update) | 2382 | #'ibuffer-update) |
| 2383 | ;; Only use font-core.el. | ||
| 2384 | (set (make-local-variable 'font-lock-defaults) | ||
| 2385 | '(nil t nil nil nil (font-lock-core-only . t))) | ||
| 2383 | (set (make-local-variable 'ibuffer-sorting-mode) | 2386 | (set (make-local-variable 'ibuffer-sorting-mode) |
| 2384 | ibuffer-default-sorting-mode) | 2387 | ibuffer-default-sorting-mode) |
| 2385 | (set (make-local-variable 'ibuffer-sorting-reversep) | 2388 | (set (make-local-variable 'ibuffer-sorting-reversep) |