| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(font-lock-default-unfontify-region): Dont' save buffer state any more.
|
|
|
|
|
| |
of defun-prompt-regexp matches inside a comment/string but the
beginning is correctly outside everything.
|
|
|
|
| |
so it doesn't forget to highlight the beginning of the region either.
|
|
|
|
| |
Don't forget to highlight the last char when we hit `end'.
|
| |
|
|
|
|
| |
where the face expression evals to nil.
|
| |
|
| |
|
|
|
|
|
|
| |
Compile font-lock-keywords, not KEYWORDS.
(lisp-font-lock-keywords-2): Add multiple-value-prog1, go.
Add warn, check-type. Handle cerror like error.
|
|
|
|
| |
More changes to go with previous change.
|
| |
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
(font-lock-warning-face): Fix spacing.
|
|
|
|
| |
Support Modes Info node.
|
|
|
|
|
| |
Turn off the CL with-... and do-... general patterns.
Instead, recognize several specific with... and do... constructs.
|
| |
|
|
|
|
|
|
| |
font-lock-keyword-face, font-lock-function-name-face,
font-lock-variable-name-face, font-lock-constant-face): Use
`min-colors`.
|
|
|
|
|
|
| |
(jit-lock): Group declaration moved to jit-lock.el.
(toplevel): Don't explicitly require jit-lock, since it's autoloaded
when necessary.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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-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).
|
| |
|
|
|
|
| |
info from docstring.
|
|
|
|
| |
Don't require underscore in word before double open-paren.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(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-extra-managed-props): Doc fix.
|
| |
|
| |
|
|
|
|
| |
`font-lock-set-defaults'.
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
|
|
|
| |
the form `:x'.
|
| |
|
| |
|
|
|
|
| |
(c-font-lock-syntactic-face-function): Accept doxygen-style comments.
|
|
|
|
|
| |
Use :weight and :slant, not :bold and :italic.
(various face definitions): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
| |
(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'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Also work when LIMIT is further than the end of line.
|
|
|
|
| |
(font-lock-defaults-alist): Use it. From David Ponce <david.ponce@wanadoo.fr>
|