# HG changeset patch # User Colin Walters # Date 1023570053 0 # Node ID bac6738f3c278c7dad6bb3003728c672b1feae4b # Parent febc3fe8ff9b1a64cd474979d681de76887040c3 *** empty log message *** diff -r febc3fe8ff9b -r bac6738f3c27 etc/NEWS --- a/etc/NEWS Sat Jun 08 20:58:59 2002 +0000 +++ b/etc/NEWS Sat Jun 08 21:00:53 2002 +0000 @@ -970,6 +970,21 @@ change group you start for any given buffer should be the last one finished. ++++ +** New variable char-property-alias-alist. + +This variable allows you to create alternative names for text +properties. It works at the same level as `default-text-properties', +although it applies to overlays as well. This variable was introduced +to implement the `font-lock-face' property. + +** New special text property `font-lock-face'. + +This property acts like the `face' property, but it is controlled by +M-x font-lock-mode. It is not, strictly speaking, a builtin text +property. Instead, it is implemented inside font-core.el, using the +new variable `char-property-alias-alist'. + ** New function remove-list-of-text-properties. The new function `remove-list-of-text-properties' is almost the same diff -r febc3fe8ff9b -r bac6738f3c27 lisp/ChangeLog --- a/lisp/ChangeLog Sat Jun 08 20:58:59 2002 +0000 +++ b/lisp/ChangeLog Sat Jun 08 21:00:53 2002 +0000 @@ -1,3 +1,37 @@ +2002-06-08 Colin Walters + + * subr.el (copy-list): Moved here from cl.el. + (copy-tree): Renamed here from `cl-copy-tree' in cl.el. + + * replace.el (occur-mode): Don't set up categories. + (occur-1): Pass `list-matching-lines-face' and + `list-matching-lines-buffer-name-face'. + (occur-engine): Use `font-lock-face' instead of categories. + + * info.el (Info-mode): Don't set up categories. + (Info-fontify-menu-headers): Use `font-lock-face' instead of categories. + (Info-fontify-node): Ditto. + + * ibuffer.el (ibuffer-category-alist): Delete. + (ibuffer-get-category): Delete. + (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead + of categories. + (ibuffer-compile-format): Don't treat `name' category specially. + (ibuffer-column name): Use `font-lock-face'. + (filename-and-process): Ditto. + (ibuffer-buffer-name-category): Renamed to + `ibuffer-buffer-name-face'. Don't use categories. + (ibuffer-update-title-and-summary): Use `font-lock-face'. + (ibuffer-insert-filter-group): Ditto. + (ibuffer-mode): Don't set up categories. + + * font-core.el (font-lock-category-alist): Delete. + (turn-on-font-lock-if-enabled): Don't use it. + (font-lock-symbol-category-alist): Delete. + (font-lock-default-function): Use new `char-property-alias-alist' + to make `font-lock-face' an alias for `face' when font-lock mode + is enabled. + 2002-06-08 Richard M. Stallman * files.el (find-file-noselect-1): Undo previous change.