summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
Commit message (Collapse)AuthorAgeFilesLines
* (font-lock-unfontify-region): Save buffer state.Stefan Monnier2004-12-071-8/+8
| | | | (font-lock-default-unfontify-region): Dont' save buffer state any more.
* (font-lock-compile-keywords): Don't complain if the endStefan Monnier2004-11-271-1/+1
| | | | | of defun-prompt-regexp matches inside a comment/string but the beginning is correctly outside everything.
* (font-lock-fontify-syntactically-region): Fix last fixStefan Monnier2004-11-141-3/+3
| | | | so it doesn't forget to highlight the beginning of the region either.
* (font-lock-fontify-syntactically-region):Stefan Monnier2004-11-121-6/+6
| | | | Don't forget to highlight the last char when we hit `end'.
* (font-lock-apply-highlight): Fix last change.Stefan Monnier2004-10-111-1/+1
|
* (font-lock-apply-highlight): Explicitly check the caseStefan Monnier2004-10-101-0/+6
| | | | where the face expression evals to nil.
* (font-lock-set-defaults): Use with-no-warnings.Richard M. Stallman2004-08-221-1/+3
|
* (font-lock-keywords): Docstring improvement.Stefan Monnier2004-07-271-2/+3
|
* (font-lock-add-keywords, font-lock-remove-keywords):Richard M. Stallman2004-07-171-6/+6
| | | | | | Compile font-lock-keywords, not KEYWORDS. (lisp-font-lock-keywords-2): Add multiple-value-prog1, go. Add warn, check-type. Handle cerror like error.
* (font-lock-fontify-syntactic-keywords-region):Richard M. Stallman2004-06-281-1/+1
| | | | More changes to go with previous change.
* (font-lock-set-defaults): Fix previous change.Richard M. Stallman2004-06-241-1/+1
|
* (font-lock-keywords): Change format of compiled values. Document it.Richard M. Stallman2004-06-241-25/+64
| | | | | | | | | (font-lock-add-keywords): If font-lock-keywords is compiled, extract the uncompiled version, modify, then recompile. (font-lock-remove-keywords): Likewise. (font-lock-fontify-keywords-region): Handle changed format. (font-lock-compile-keywords): Handle changed format. (font-lock-set-defaults): Compile the keywords explicitly here.
* (lisp-font-lock-keywords-2): Add multiple-value-bind.Richard M. Stallman2004-05-301-0/+1
|
* (font-lock-preprocessor-face): Remove spurious quote.Juanma Barranquero2004-04-211-8/+9
| | | | (font-lock-warning-face): Fix spacing.
* * font-lock.el (fast-lock, lazy-lock): Remove links to removedJuri Linkov2004-03-251-2/+0
| | | | Support Modes Info node.
* (lisp-font-lock-keywords-2):Richard M. Stallman2004-03-041-4/+16
| | | | | Turn off the CL with-... and do-... general patterns. Instead, recognize several specific with... and do... constructs.
* Fix copyright years.Eli Zaretskii2004-02-271-1/+1
|
* (font-lock-comment-face, font-lock-string-face,Eli Zaretskii2004-02-271-35/+58
| | | | | | font-lock-keyword-face, font-lock-function-name-face, font-lock-variable-name-face, font-lock-constant-face): Use `min-colors`.
* (font-lock): Add jit-lock as explicit group member.Stefan Monnier2004-01-261-11/+1
| | | | | | (jit-lock): Group declaration moved to jit-lock.el. (toplevel): Don't explicitly require jit-lock, since it's autoloaded when necessary.
* (font-lock-after-change-function): Bind inhibit-quit.Richard M. Stallman2003-12-291-1/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (font-lock-extra-types-widget)Stefan Monnier2003-07-041-855/+3
| | | | | | | | | | | | | | | | | (c-font-lock-extra-types, c++-font-lock-extra-types) (objc-font-lock-extra-types, java-font-lock-extra-types) (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords) (c-font-lock-keywords-3, c-font-lock-syntactic-face-function) (font-lock-match-c++-style-declaration-item-and-skip-to-next) (font-lock-match-c++-structor-declaration) (c++-font-lock-keywords-1, c++-font-lock-keywords-2) (c++-font-lock-keywords-3, c++-font-lock-keywords) (objc-font-lock-keywords-1, objc-font-lock-keywords-2) (objc-font-lock-keywords-3, objc-font-lock-keywords) (java-font-lock-keywords-1, java-font-lock-keywords-2) (java-font-lock-keywords-3, java-font-lock-keywords) (java-font-lock-syntactic-face-function): Remove obsolete code and constants. It's all in cc-fonts.el now.
* (font-lock-multiline, font-lock-fontified)Stefan Monnier2003-04-141-45/+85
| | | | | | | (font-lock-set-defaults): Move back from font-core.el and merge it back with font-lock-set-defaults-1. (font-lock-mode-internal): New function (basically the body of the old font-lock-mode minor mode).
* (font-lock-preprocessor-face): New var and face.Stefan Monnier2003-04-141-0/+8
|
* (font-lock-reference-face): Add obsolescence declaration and remove redundantJuanma Barranquero2003-02-051-2/+2
| | | | info from docstring.
* (font-lock-match-c-style-declaration-item-and-skip-to-next):Andreas Schwab2003-02-021-2/+2
| | | | Don't require underscore in word before double open-paren.
* * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.John Paul Wallington2003-01-291-1/+2
| | | | | | | | | | * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and `define-ibuffer-sorter'. (lisp-imenu-generic-expression): Add `deftheme' to types. * custom.el (customize-mark-to-save, customize-mark-as-set) (custom-remove-theme): Doc fixes.
* (c++-font-lock-extra-types): Fix previous change.Richard M. Stallman2002-12-021-1/+1
|
* (c++-font-lock-extra-types): Add various STL classes.Richard M. Stallman2002-11-241-5/+14
|
* (c++-font-lock-keywords...): Add `restrict' keyword.Richard M. Stallman2002-10-261-0/+2
|
* (fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables.Stefan Monnier2002-09-251-13/+20
| | | | | | | (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer) (font-lock-after-unfontify-buffer): Check that the vars are bound. (font-lock-dont-widen): New var. (font-lock-default-fontify-region): Use it.
* (font-lock-add-keywords): Fix typo.Juanma Barranquero2002-08-301-1/+1
|
* (font-lock-default-unfontify-region): Use remove-list-of-text-properties.Stefan Monnier2002-07-081-7/+4
| | | | (font-lock-extra-managed-props): Doc fix.
* (font-lock-beginning-of-syntax-function): Doc fix.Richard M. Stallman2002-06-121-5/+10
|
* (font-lock-set-defaults-1): Set variable alist here.Colin Walters2002-06-121-2/+3
|
* (font-lock-set-defaults-1): Variable alist is now set inColin Walters2002-06-091-6/+5
| | | | `font-lock-set-defaults'.
* (font-lock-defaults, font-lock-defaults-alist)Colin Walters2002-05-211-339/+46
| | | | | | | (font-lock-multiline, font-lock-fontified, font-lock-mode) (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode) (font-lock-global-modes): Moved to font-core.el. (font-lock-set-defaults-1): Partially moved to font-core.el.
* (save-buffer-state): Fix last change.Eli Zaretskii2002-03-301-1/+1
|
* (save-buffer-state): Use make-symbol to bind `modified'.Eli Zaretskii2002-03-291-8/+14
|
* (java-font-lock-extra-types): Add "URL" as separate item. Doc fix.Pavel Janík2002-03-111-3/+4
|
* (lisp-font-lock-keywords-2): Highlight keywords ofGerd Moellmann2002-03-061-1/+1
| | | | the form `:x'.
* Doc fix.Stefan Monnier2002-03-051-1/+4
|
* (java-font-lock-extra-types): Match java.net.URL, etc.Richard M. Stallman2002-03-011-1/+1
|
* (save-buffer-state): Use restore-buffer-modified-p.Stefan Monnier2002-02-081-3/+5
| | | | (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
* (initializing from font-lock-face-attributes):Richard M. Stallman2001-12-311-27/+27
| | | | | Use :weight and :slant, not :bold and :italic. (various face definitions): Likewise.
* (font-lock-mode): Put our function at the end of after-change-functions.Richard M. Stallman2001-12-111-1/+1
|
* (font-lock-cache-state, font-lock-cache-position)Stefan Monnier2001-11-251-52/+10
| | | | | | | | | (font-lock-ppss-stats, font-lock-ppss): Remove. (font-lock-fontify-syntactically-region): Remove tuning code. (font-lock-compile-keywords): Fix off-by-one bug. (font-lock-set-defaults): Don't set removed vars. (c-keywords): Add `inline'. (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
* (font-lock-compile-keywords): New arg `regexp'.Stefan Monnier2001-11-181-158/+184
| | | | | | | | | | | | | | | If set and if applicable, add a regexp to highlight defun-like text inside comments and strings. (font-lock-fontify-keywords-region): Pass that new arg. (font-lock-set-defaults): Move the code to set `font-lock-keywords' to the end and pass that new arg. (c-font-lock-keywords-2): Fix regex for labels. (font-lock-match-c++-style-declaration-item-and-skip-to-next): Make it work when LIMIT is several lines further. (c-font-lock-keywords-3, c++-font-lock-keywords-3) (objc-font-lock-keywords-3, java-font-lock-keywords-3): Use backquote and make the regexes for `int a, b, c;' work on multiple lines.
* (font-lock-match-c-style-declaration-item-and-skip-to-next):Stefan Monnier2001-11-061-6/+6
| | | | Also work when LIMIT is further than the end of line.
* (java-font-lock-syntactic-face-function): New fun.Stefan Monnier2001-10-311-1/+19
| | | | (font-lock-defaults-alist): Use it. From David Ponce <david.ponce@wanadoo.fr>