summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
Commit message (Collapse)AuthorAgeFilesLines
* Try to comment where font-lock-keyword order is important.Simon Marshall1997-09-091-42/+46
|
* (font-lock-comment-face, etc.):Richard M. Stallman1997-09-071-32/+36
| | | | | defvars moved up to avoid warnings. (font-lock-face-attributes, global-font-lock-mode): Add defvars.
* (global-font-lock-mode): When turning offRichard M. Stallman1997-09-071-10/+16
| | | | Global Font Lock mode, turn off Font Lock mode everywhere.
* don't add text for the modeline.Simon Marshall1997-07-291-1/+1
|
* Add type specs "explicit" "mutable".Simon Marshall1997-07-251-4/+6
|
* split up scheme and tex support; wrap inhibit-point-motion-hooks where nec.Simon Marshall1997-06-271-118/+176
|
* Rearrange custom options. Also enable custom control of Global Font Lock mode.Simon Marshall1997-06-191-72/+177
|
* Update for syntax-table text properties.Simon Marshall1997-05-291-230/+329
| | | | font-lock.el now adds them via font-lock-syntactic-keywords.
* Respect font-lock-face-attributes and custom fixes.Simon Marshall1997-04-231-27/+88
|
* Cleaned up custom support.Simon Marshall1997-04-181-22/+46
|
* Customise. And a few code cleanups.Simon Marshall1997-04-171-359/+292
|
* (font-lock-fontify-syntactically-region): Use newRichard M. Stallman1997-04-151-72/+26
| | | | features of parse-partial-sexp instead of doing regexp search.
* Allow arbitrary regexps in *-font-lock-extra-types.Simon Marshall1997-03-151-189/+246
|
* 1. If PRE-MATCH-FORM returns a suitable number, use that as a value for LIMIT.Simon Marshall1997-02-211-31/+206
| | | | 2. Commented out menu code.
* Fix additional text prop fns to behave as proposed builtins.Simon Marshall1997-01-091-85/+94
| | | | Undo previous font-lock-after-change-function as that works better albeit not perfectly.
* (a) add font-lock-keywords-alist, (b) fix compilation of quoted conses in ↵Simon Marshall1996-11-161-321/+494
| | | | keyword form, (c) make simple font-lock-match-c-style-declaration-item-and-skip-to-next and more complex font-lock-match-c++-style-declaration-item-and-skip-to-next.
* Changes to font-lock-fontify-syntactically-region: (a) the cache position ↵Simon Marshall1996-10-231-336/+756
| | | | | | must be a marker, (b) use a loop to look for comment start, some speedups. Two new faces, two new modes.
* (font-lock-inhibit-modes): Deleted.Richard M. Stallman1996-08-011-4/+0
| | | | (turn-on-font-lock-if-enabled): Deleted.
* (font-lock-mode): Don't add to after-change-functionsRichard M. Stallman1996-07-271-2/+7
| | | | | | | if font-lock-fontify-region-function is `ignore'. (font-lock-inhibit-modes): New variable. (turn-on-font-lock-if-enabled): Test it.
* Make sure font-lock-match-c++-style-declaration-item-and-skip-to-next only ↵Simon Marshall1996-07-131-2/+2
| | | | skips commas.
* 1. Use new font-lock-comment-start-regexp for matching a comment---it can ↵Simon Marshall1996-07-121-20/+91
| | | | | | be faster than comment-start-skip. 2. Don't treat ; as an item separator.
* Put fewer conditions in turn-on-font-lock and more in ↵Simon Marshall1996-06-241-24/+30
| | | | turn-on-font-lock-if-enabled, so a user can put the former on hooks.
* (font-lock-verbose): Default to 0. Doc fix.Richard M. Stallman1996-06-231-140/+182
| | | | | | | | | | | | | (font-lock-default-fontify-buffer): Interpret numeric value. (font-lock-fontified): Don't make it permanent-local. (font-lock-mode): Remove before-revert-hook and after-revert-hook code. Call font-lock-turn-on-thing-lock before font-lock-mode-hook. Doc fix. (font-lock-revert-setup, font-lock-revert-cleanup): Deleted. (font-lock-support-mode): New variable. (font-lock-turn-on-thing-lock): New function. Use it. (font-lock-turn-off-thing-lock): Renamed font-lock-thing-lock-cleanup. (font-lock-change-major-mode): Turn off Font Lock mode if it is on. Add font-lock-change-major-mode to change-major-mode-hook at top level.
* (font-lock-make-faces): Set threshold for "light color"Richard M. Stallman1996-06-221-1/+1
| | | | at .6 of the total for white.
* (global-font-lock-mode): Set up find-file-hooks.Richard M. Stallman1996-06-171-3/+6
| | | | | (font-lock-default-fontify-buffer, font-lock-fontify-block) (font-lock-mode): Fix syntax of msgs such as Fontifying...done.
* Treat font-lock-keywords of (t) the same as nil.Simon Marshall1996-03-071-46/+45
| | | | xvc
* (font-lock-fontify-block): Use facemenu-keymap to make the binding.Richard M. Stallman1996-03-071-1/+1
|
* (global-map): Change C-M-g to M-g M-g.Richard M. Stallman1996-03-021-1/+1
|
* Make global-font-lock-mode show status messages, and fontification ↵Simon Marshall1996-02-281-34/+43
| | | | interruptable.
* Moved `supported' from turn-on-font-lock-if-supported to turn-on-font-lock.Simon Marshall1996-02-081-27/+23
|
* Correct specialised fontification and associated stuff.Simon Marshall1996-02-021-161/+189
|
* Support for local fontification.Simon Marshall1996-01-261-3/+11
|
* Support for buffer local fontification functions.Simon Marshall1996-01-251-87/+286
| | | | | Global Font Lock mode. Support for `eval' keywords.
* (turn-on-font-lock): Test window-system.Richard M. Stallman1996-01-241-2/+3
|
* Update FSF's address.Erik Naggum1996-01-141-2/+3
|
* (font-lock-keywords): Doc fix.Karl Heuer1996-01-041-2/+2
|
* Don't turn on in any buffer with a leading space in its name.Simon Marshall1995-12-091-33/+65
| | | | | When (un)fontifying, make sure we're doing it in the whole buffer. Make a command to refontify the window.
* (font-lock-make-faces): Add special code for ms-dos.Richard M. Stallman1995-11-251-0/+5
|
* Oops; left a note in a doc-string.Simon Marshall1995-11-101-1/+1
|
* 1. Use local hooks, not local variables.Simon Marshall1995-11-091-187/+178
| | | | | 2. Wrap font-lock-fontify-region, not called fns. 3. Guarantee anchored keywords don't span lines.
* Comment change.Richard M. Stallman1995-10-301-1/+1
|
* General reorganisation; moving and renaming etc.Simon Marshall1995-10-261-635/+944
| | | | | | Addition to font-lock-keywords; MATCH-ANCHORED structure and OVERRIDE values. font-lock-fontify-anchored-keywords written to use the former, font-lock-apply-highlight modified to use the latter.
* Functionality for font-lock-beginning-of-syntax-function to be used by ↵Simon Marshall1995-08-101-128/+262
| | | | font-lock-fontify-region when calculating the cache state. Also wrap value of buffer-file-truename to guard against clash detection. Also add scheme-font-lock-keywords.
* (font-lock-make-faces): Redo logic for whetherRichard M. Stallman1995-07-211-6/+6
| | | | to call font-lock-make-face for a given face.
* Do all cleanups in font-lock-fontify-region and font-lock-hack-keywords insideSimon Marshall1995-07-091-38/+35
| | | | | their unwind-protect UNWINDFORMS. Also eval inside font-lock-set-defaults, not font-lock-choose-keywords.
* (font-lock-make-faces): On grayscale screen,Richard M. Stallman1995-07-071-6/+6
| | | | use grays for background, not foreground.
* Specify in font-lock-defaults/font-lock-defaults-alist which keywords we canSimon Marshall1995-06-261-55/+59
| | | | use based on font-lock-maximum-decoration.
* Change so font-lock-make-faces doesn't stomp all over user Font Lock faces.Simon Marshall1995-06-161-8/+13
|
* Made font-lock-compile-keywords not compile if it looks like it already has.Simon Marshall1995-06-011-17/+19
|
* (font-lock-revert-cleanup): Always turn font lock on.Karl Heuer1995-05-291-7/+9
| | | | | (font-lock-mode): When turning mode off, always take out the revert hooks.