1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 04:30:55 -08:00
Commit graph

235 commits

Author SHA1 Message Date
Lute Kamstra
f665853a1a (lisp-font-lock-keywords-1): Font lock a call to define-generic-mode
like a function declaration.
2005-03-21 17:12:01 +00:00
Richard M. Stallman
f9d0b1eda1 (font-lock-lines-before): New user option.
(font-lock-after-change-function): Obey it.
2005-03-17 23:44:19 +00:00
Stefan Monnier
55d0f066be (font-lock-fontify-keywords-region): Ensure forward
progress, even with buggy anchored keywords.
2005-03-06 00:02:04 +00:00
Stefan Monnier
516eb29c73 (font-lock-unfontify-region): Save buffer state.
(font-lock-default-unfontify-region): Dont' save buffer state any more.
2004-12-07 04:58:36 +00:00
Stefan Monnier
048aac3938 (font-lock-compile-keywords): Don't complain if the end
of defun-prompt-regexp matches inside a comment/string but the
beginning is correctly outside everything.
2004-11-27 00:17:22 +00:00
Stefan Monnier
6ce66ffe74 (font-lock-fontify-syntactically-region): Fix last fix
so it doesn't forget to highlight the beginning of the region either.
2004-11-14 00:37:12 +00:00
Stefan Monnier
7ae3cc71e1 (font-lock-fontify-syntactically-region):
Don't forget to highlight the last char when we hit `end'.
2004-11-12 00:00:59 +00:00
Stefan Monnier
a5f48305f1 (font-lock-apply-highlight): Fix last change. 2004-10-11 14:56:50 +00:00
Stefan Monnier
6b7f34912c (font-lock-apply-highlight): Explicitly check the case
where the face expression evals to nil.
2004-10-10 01:54:12 +00:00
Richard M. Stallman
7ea820e985 (font-lock-set-defaults): Use with-no-warnings. 2004-08-22 16:53:44 +00:00
Stefan Monnier
f9c0bc2e73 (font-lock-keywords): Docstring improvement. 2004-07-27 18:45:41 +00:00
Richard M. Stallman
5ac714934d (font-lock-add-keywords, font-lock-remove-keywords):
Compile font-lock-keywords, not KEYWORDS.
(lisp-font-lock-keywords-2): Add multiple-value-prog1, go.
Add warn, check-type.  Handle cerror like error.
2004-07-17 14:30:33 +00:00
Richard M. Stallman
0715d1a4a8 (font-lock-fontify-syntactic-keywords-region):
More changes to go with previous change.
2004-06-28 02:45:01 +00:00
Richard M. Stallman
e2850f3f85 (font-lock-set-defaults): Fix previous change. 2004-06-24 23:30:50 +00:00
Richard M. Stallman
69968400c3 (font-lock-keywords): Change format of compiled values. Document it.
(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.
2004-06-24 20:29:41 +00:00
Richard M. Stallman
5af26250be (lisp-font-lock-keywords-2): Add multiple-value-bind. 2004-05-30 13:33:03 +00:00
Juanma Barranquero
c9341aa0fb (font-lock-preprocessor-face): Remove spurious quote.
(font-lock-warning-face): Fix spacing.
2004-04-21 21:00:33 +00:00
Juri Linkov
894325b1ef * font-lock.el (fast-lock, lazy-lock): Remove links to removed
Support Modes Info node.
2004-03-25 10:44:30 +00:00
Richard M. Stallman
e6bdd6abe3 (lisp-font-lock-keywords-2):
Turn off the CL with-... and do-... general patterns.
Instead, recognize several specific with... and do... constructs.
2004-03-04 16:52:00 +00:00
Eli Zaretskii
97cc3d15d4 Fix copyright years. 2004-02-27 17:30:23 +00:00
Eli Zaretskii
a12d182ade (font-lock-comment-face, font-lock-string-face,
font-lock-keyword-face, font-lock-function-name-face,
font-lock-variable-name-face, font-lock-constant-face): Use
`min-colors`.
2004-02-27 17:01:55 +00:00
Stefan Monnier
6497a8f888 (font-lock): Add jit-lock as explicit group member.
(jit-lock): Group declaration moved to jit-lock.el.
(toplevel): Don't explicitly require jit-lock, since it's autoloaded
when necessary.
2004-01-26 23:06:20 +00:00
Richard M. Stallman
14e2791a5a (font-lock-after-change-function): Bind inhibit-quit. 2003-12-29 19:16:05 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
1fed50c4b4 (font-lock-extra-types-widget)
(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.
2003-07-04 18:29:49 +00:00
Stefan Monnier
f8115798d7 (font-lock-multiline, font-lock-fontified)
(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).
2003-04-14 23:07:39 +00:00
Stefan Monnier
d654cab8f8 (font-lock-preprocessor-face): New var and face. 2003-04-14 15:04:16 +00:00
Juanma Barranquero
9087b27168 (font-lock-reference-face): Add obsolescence declaration and remove redundant
info from docstring.
2003-02-05 23:09:58 +00:00
Andreas Schwab
4cac2fc3fa (font-lock-match-c-style-declaration-item-and-skip-to-next):
Don't require underscore in word before double open-paren.
2003-02-02 17:31:49 +00:00
John Paul Wallington
e2cd29bdb4 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
* 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.
2003-01-29 21:45:56 +00:00
Richard M. Stallman
0179b84651 (c++-font-lock-extra-types): Fix previous change. 2002-12-02 16:17:29 +00:00
Richard M. Stallman
633d0ba56a (c++-font-lock-extra-types): Add various STL classes. 2002-11-24 18:59:48 +00:00
Richard M. Stallman
fa9a2537ae (c++-font-lock-keywords...): Add `restrict' keyword. 2002-10-26 22:36:09 +00:00
Stefan Monnier
7f0d55f29e (fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables.
(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.
2002-09-25 19:34:07 +00:00
Juanma Barranquero
8c2d6a44a2 (font-lock-add-keywords): Fix typo. 2002-08-30 11:01:07 +00:00
Stefan Monnier
4c02ca4625 (font-lock-default-unfontify-region): Use remove-list-of-text-properties.
(font-lock-extra-managed-props): Doc fix.
2002-07-08 01:30:44 +00:00
Richard M. Stallman
fc896a928c (font-lock-beginning-of-syntax-function): Doc fix. 2002-06-12 12:16:08 +00:00
Colin Walters
93e5c2b583 (font-lock-set-defaults-1): Set variable alist here. 2002-06-12 04:54:41 +00:00
Colin Walters
e9476ca8e2 (font-lock-set-defaults-1): Variable alist is now set in
`font-lock-set-defaults'.
2002-06-09 00:40:25 +00:00
Colin Walters
53785d2b31 (font-lock-defaults, font-lock-defaults-alist)
(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.
2002-05-21 21:01:35 +00:00
Eli Zaretskii
886c13f11c (save-buffer-state): Fix last change. 2002-03-30 08:08:54 +00:00
Eli Zaretskii
7b7a23f49b (save-buffer-state): Use make-symbol to bind `modified'. 2002-03-29 13:31:19 +00:00
Pavel Janík
b3f1e48a47 (java-font-lock-extra-types): Add "URL" as separate item. Doc fix. 2002-03-11 13:39:02 +00:00
Gerd Moellmann
6c4bb7f652 (lisp-font-lock-keywords-2): Highlight keywords of
the form `:x'.
2002-03-06 16:58:35 +00:00
Stefan Monnier
8e12e2759c Doc fix. 2002-03-05 19:00:35 +00:00
Richard M. Stallman
a7b93e4cd9 (java-font-lock-extra-types): Match java.net.URL, etc. 2002-03-01 00:31:26 +00:00
Stefan Monnier
ba46000855 (save-buffer-state): Use restore-buffer-modified-p.
(c-font-lock-syntactic-face-function): Accept doxygen-style comments.
2002-02-08 16:50:05 +00:00
Richard M. Stallman
0cccb49d7a (initializing from font-lock-face-attributes):
Use :weight and :slant, not :bold and :italic.
(various face definitions): Likewise.
2001-12-31 20:16:46 +00:00
Richard M. Stallman
9dd481237a (font-lock-mode): Put our function at the end of after-change-functions. 2001-12-11 06:05:12 +00:00
Stefan Monnier
47fc2db3eb (font-lock-cache-state, font-lock-cache-position)
(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'.
2001-11-25 22:01:15 +00:00