1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juanma Barranquero
7df7eb04b1 (font-lock-defaults-alist): Add WHEN to obsolescence declaration. 2008-04-18 10:27:53 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Richard M. Stallman
35a46c5c55 (turn-on-font-lock-if-desired):
Renamed from `turn-on-font-lock-if-enabled'.
Fully obey `font-lock-global-modes'.
2007-10-19 17:27:58 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Juanma Barranquero
7af1dacf7d (font-lock-mode): Doc fix. 2007-02-26 09:40:04 +00:00
Chong Yidong
44cba17eed (global-font-lock-mode): define-global-minor-mode changed to
define-globalized-minor-mode.
2007-02-03 17:24:35 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
5a4689d932 (font-lock-mode): "?\ " -> "?\s". 2006-11-27 13:50:42 +00:00
Stefan Monnier
b0c76bd4a5 (font-lock-extend-region-function, font-lock-extend-region):
Move to font-lock.el.
2006-08-01 19:09:27 +00:00
Alan Mackenzie
ef0083218d * font-core.el: New function/variable
font-lock-extend-region\(-function\)?.

* font-lock.el (font-lock-after-change-function): Call
font-lock-extend-region.  Obey font-lock-lines-before.
(font-lock-default-fontify-region): Remove reference to
font-lock-lines-before.

* jit-lock.el (jit-lock-after-change): Call
font-lock-extend-region.  Obey font-lock-lines-before.
2006-03-14 18:23:47 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
9324f6715a (font-lock-mode): Replace :group font-lock' with nil nil nil'. 2005-12-04 05:46:18 +00:00
Juri Linkov
07b0c0b702 (font-lock-mode): Revert removing `:group font-lock'. 2005-12-04 04:58:33 +00:00
Juri Linkov
3ff522d9c5 (global-font-lock-mode): Use define-global-minor-mode
instead of easy-mmode-define-global-mode.  Add `:group font-lock'.
(font-lock-mode): Remove `:group font-lock'.
2005-12-04 02:30:37 +00:00
Luc Teirlinck
11783809fb (global-font-lock-mode): Add :version keyword, because default was changed. 2005-11-16 03:52:35 +00:00
Luc Teirlinck
00fe0acef4 (global-font-lock-mode): Enable `global-font-lock-mode' by default,
except in batch mode or when the -D command line option is given.
2005-11-05 23:07:40 +00:00
Romain Francoise
ea5b829c21 (font-lock-mode): Doc fix. 2005-10-20 05:48:50 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juri Linkov
91da339a8d (font-lock-mode): Delete duplicate words. 2005-07-18 15:24:00 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Luc Teirlinck
642b63e8b7 (font-lock-mode-major-mode): Compiler defvar.
(font-lock-mode): Update `font-lock-mode-major-mode'.
(font-lock-set-defaults): Compiler defvar.
(font-lock-default-function): Take `font-lock-mode-major-mode' into account.
2005-06-04 22:18:53 +00:00
Luc Teirlinck
21178fee96 Update comment. 2005-05-22 22:13:49 +00:00
Lute Kamstra
77f5a70d86 (font-lock-defaults): Fix docstring. 2005-04-25 11:09:30 +00:00
Lute Kamstra
50aea0c0de (font-lock-mode): Specify :group. 2005-04-04 08:56:36 +00:00
Richard M. Stallman
723c911c93 (font-lock-default-function): Use with-no-warnings. 2005-02-10 06:45:26 +00:00
Stefan Monnier
30b940a731 (font-lock-default-function): Handle the rare case where
only font-lock-keywords is set.
2005-02-03 04:28:21 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
73f05d4e07 (font-lock-defaults-alist): Remove obsolete comment. 2003-07-04 20:27:14 +00:00
Stefan Monnier
ebd872c8f0 (font-lock-defaults-alist): Remove obsolete entries. 2003-07-04 18:29:12 +00:00
Stefan Monnier
e350babd40 (font-lock-maximum-size, font-lock-verbose): Remove.
(font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
Move back to font-lock.el
(font-lock-default-function): Use font-lock-mode-internal.
2003-04-14 23:07:49 +00:00
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