mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Ignore errors from font-lock-compile-keywords.
This commit is contained in:
parent
c2c50958b6
commit
f140f4e36c
1 changed files with 6 additions and 2 deletions
|
|
@ -72,7 +72,9 @@
|
|||
(eval-after-load "font-lock"
|
||||
'(if (and (not (featurep 'cc-fix)) ; only load the file once.
|
||||
(let (font-lock-keywords)
|
||||
(font-lock-compile-keywords '("\\<\\>"))
|
||||
(condition-case nil
|
||||
(font-lock-compile-keywords '("\\<\\>"))
|
||||
(error nil))
|
||||
font-lock-keywords)) ; did the previous call foul this up?
|
||||
(load "cc-fix")))
|
||||
|
||||
|
|
@ -83,7 +85,9 @@
|
|||
(progn
|
||||
(require 'font-lock)
|
||||
(let (font-lock-keywords)
|
||||
(font-lock-compile-keywords '("\\<\\>"))
|
||||
(condition-case nil
|
||||
(font-lock-compile-keywords '("\\<\\>"))
|
||||
(error nil))
|
||||
font-lock-keywords)))
|
||||
(cc-load "cc-fix")))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue