Stefan Monnier
bb125ff0bf
(font-lock-defontify): Use restore-buffer-modified-p.
2003-02-10 21:56:49 +00:00
Juanma Barranquero
71296446d3
Trailing whitespace deleted.
2003-02-04 11:26:42 +00:00
Richard M. Stallman
67c9f58d7e
(font-lock-defontify): New function.
2002-09-10 16:43:48 +00:00
Stefan Monnier
40e2bbe904
(font-lock-change-mode): Just turn off font-lock-mode.
...
(font-lock-default-function): Change arg name.
2002-09-09 23:22:49 +00:00
Andreas Schwab
523d3bf425
(font-lock-change-mode): Avoid changing buffer state in any way.
2002-08-31 17:22:46 +00:00
Juanma Barranquero
f7abda1e51
(font-lock-defaults): Fix typo.
2002-08-30 11:00:46 +00:00
Richard M. Stallman
2dc20ca800
(font-lock-change-mode): New function.
...
(font-lock-mode): Use font-lock-change-mode instead of
font-lock-unfontify-buffer.
(font-lock-maximum-size, font-lock-verbose): Add defvars.
2002-08-20 17:22:30 +00:00
Richard M. Stallman
5a70549632
(font-lock-mode): Set change-major-mode-hook locally.
2002-08-19 00:54:48 +00:00
Richard M. Stallman
8e97108f6b
(font-lock-mode): Add font-lock-unfontify-buffer
...
to change-major-mode-hook when font lock is enabled.
2002-08-15 20:09:34 +00:00
Stefan Monnier
1a4914f340
Use find-file-hook instead of find-file-hooks.
2002-08-15 00:48:20 +00:00
John Paul Wallington
3e1198301f
(font-lock-function): Make it buffer-local.
2002-08-09 12:15:54 +00:00
Colin Walters
61fd2c6832
font-core.el (font-lock-core-only): Variable deleted. All uses removed.
...
(font-lock-set-defaults): Variable alist settings moved back into
font-lock-set-defaults-1.
(turn-on-font-lock-if-enabled): Always turn on font-lock unless it
is specifically excluded by the user.
2002-06-12 04:54:30 +00:00
Colin Walters
332607125e
Fix previous change.
2002-06-09 02:27:43 +00:00
Colin Walters
c32aa1a580
(font-lock-default-function): If `font-lock-core-only' is non-nil,
...
don't use big font-lock machinery.
2002-06-09 00:41:11 +00:00
Colin Walters
660acebe9c
(font-lock-core-only): New variable.
...
(font-lock-set-defaults): Use it.
2002-06-09 00:19:23 +00:00
Colin Walters
1b6adddbc3
(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 20:39:29 +00:00
Colin Walters
d1c8930033
(font-lock-symbol-category-alist): New variable.
2002-05-23 04:18:19 +00:00
Colin Walters
7c4ef9b397
(font-lock-function): New variable.
...
(font-lock-default-function): New function, created from `font-lock-mode'.
(font-lock-mode): Just funcall `font-lock-default-function'.
2002-05-23 03:39:00 +00:00
Colin Walters
f62be99b8a
New file, broken out from font-lock.el.
2002-05-21 20:39:54 +00:00