diff options
| author | Colin Walters | 2002-06-09 00:21:46 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-06-09 00:21:46 +0000 |
| commit | d62920ca8eebb9d7557f913cb1f5ef36497e4de3 (patch) | |
| tree | 50d4e17735ed9af93a83ecd73dfea1bfd61368f6 | |
| parent | 660acebe9ce362749a96ca8c7450d50219a94062 (diff) | |
| download | emacs-d62920ca8eebb9d7557f913cb1f5ef36497e4de3.tar.gz emacs-d62920ca8eebb9d7557f913cb1f5ef36497e4de3.zip | |
(define-ibuffer-column): Don't create a third argument for the
generated function.
| -rw-r--r-- | lisp/ChangeLog | 20 | ||||
| -rw-r--r-- | lisp/ibuf-macs.el | 2 |
2 files changed, 17 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a4db10b8920..dc31ec09da0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -36,13 +36,16 @@ | |||
| 36 | 36 | ||
| 37 | * emacs-lisp/cl.el (copy-list): Moved to subr.el. | 37 | * emacs-lisp/cl.el (copy-list): Moved to subr.el. |
| 38 | 38 | ||
| 39 | * replace.el (occur-mode): Don't set up categories. | 39 | * replace.el (occur-mode): Don't set up categories. Do set |
| 40 | `font-lock-defaults', and be sure to set `font-lock-core-only'. | ||
| 40 | (occur-1): Pass `list-matching-lines-face' and | 41 | (occur-1): Pass `list-matching-lines-face' and |
| 41 | `list-matching-lines-buffer-name-face'. | 42 | `list-matching-lines-buffer-name-face'. |
| 42 | (occur-engine): Use `font-lock-face' instead of categories. | 43 | (occur-engine): Use `font-lock-face' instead of categories. |
| 43 | 44 | ||
| 44 | * info.el (Info-mode): Don't set up categories. | 45 | * info.el (Info-mode): Don't set up categories. Do set |
| 45 | (Info-fontify-menu-headers): Use `font-lock-face' instead of categories. | 46 | `font-lock-defaults', and be sure to set `font-lock-core-only'. |
| 47 | (Info-fontify-menu-headers): Use `font-lock-face' instead of | ||
| 48 | categories. | ||
| 46 | (Info-fontify-node): Ditto. | 49 | (Info-fontify-node): Ditto. |
| 47 | 50 | ||
| 48 | * ibuffer.el (ibuffer-category-alist): Delete. | 51 | * ibuffer.el (ibuffer-category-alist): Delete. |
| @@ -56,7 +59,14 @@ | |||
| 56 | `ibuffer-buffer-name-face'. Don't use categories. | 59 | `ibuffer-buffer-name-face'. Don't use categories. |
| 57 | (ibuffer-update-title-and-summary): Use `font-lock-face'. | 60 | (ibuffer-update-title-and-summary): Use `font-lock-face'. |
| 58 | (ibuffer-insert-filter-group): Ditto. | 61 | (ibuffer-insert-filter-group): Ditto. |
| 59 | (ibuffer-mode): Don't set up categories. | 62 | (ibuffer-mode): Don't set up categories. Do set |
| 63 | `font-lock-defaults', and be sure to set `font-lock-core-only'. | ||
| 64 | (ibuffer-compile-format): Don't pass third argument | ||
| 65 | to column functions. | ||
| 66 | (filename-and-process): Ditto. | ||
| 67 | |||
| 68 | * ibuf-macs.el (define-ibuffer-column): Don't create a third | ||
| 69 | argument for the generated function. | ||
| 60 | 70 | ||
| 61 | * font-core.el (font-lock-category-alist): Delete. | 71 | * font-core.el (font-lock-category-alist): Delete. |
| 62 | (turn-on-font-lock-if-enabled): Don't use it. | 72 | (turn-on-font-lock-if-enabled): Don't use it. |
| @@ -64,6 +74,8 @@ | |||
| 64 | (font-lock-default-function): Use new `char-property-alias-alist' | 74 | (font-lock-default-function): Use new `char-property-alias-alist' |
| 65 | to make `font-lock-face' an alias for `face' when font-lock mode | 75 | to make `font-lock-face' an alias for `face' when font-lock mode |
| 66 | is enabled. | 76 | is enabled. |
| 77 | (font-lock-core-only): New variable. | ||
| 78 | (font-lock-set-defaults): Use it. | ||
| 67 | 79 | ||
| 68 | 2002-06-08 Richard M. Stallman <rms@gnu.org> | 80 | 2002-06-08 Richard M. Stallman <rms@gnu.org> |
| 69 | 81 | ||
diff --git a/lisp/ibuf-macs.el b/lisp/ibuf-macs.el index ac6bc5bae3b..f32410aa868 100644 --- a/lisp/ibuf-macs.el +++ b/lisp/ibuf-macs.el | |||
| @@ -105,7 +105,7 @@ change its definition, you should explicitly call | |||
| 105 | `(progn | 105 | `(progn |
| 106 | ,(if inline | 106 | ,(if inline |
| 107 | `(push '(,sym ,bod) ibuffer-inline-columns) | 107 | `(push '(,sym ,bod) ibuffer-inline-columns) |
| 108 | `(defun ,sym (buffer mark ibuffer-buf) | 108 | `(defun ,sym (buffer mark) |
| 109 | ,bod)) | 109 | ,bod)) |
| 110 | (put (quote ,sym) 'ibuffer-column-name | 110 | (put (quote ,sym) 'ibuffer-column-name |
| 111 | ,(if (stringp name) | 111 | ,(if (stringp name) |