mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(texinfo-mode): Use backward-paragraph
as font-lock-beginning-of-syntax-function in font-lock-defaults.
This commit is contained in:
parent
9724173bef
commit
48bb9196de
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2001-01-19 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* textmodes/texinfo.el (texinfo-mode): Use backward-paragraph
|
||||
as font-lock-beginning-of-syntax-function in font-lock-defaults.
|
||||
|
||||
* jit-lock.el (jit-lock-fontify-now): Don't bind
|
||||
font-lock-beginning-of-syntax-function to nil.
|
||||
|
||||
|
|
|
|||
|
|
@ -558,7 +558,7 @@ value of `texinfo-mode-hook'."
|
|||
(setq imenu-case-fold-search nil)
|
||||
(make-local-variable 'font-lock-defaults)
|
||||
(setq font-lock-defaults
|
||||
'(texinfo-font-lock-keywords nil nil nil nil
|
||||
'(texinfo-font-lock-keywords nil nil nil backward-paragraph
|
||||
(font-lock-syntactic-keywords
|
||||
. texinfo-font-lock-syntactic-keywords)))
|
||||
(set (make-local-variable 'parse-sexp-lookup-properties) t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue