Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b234d92c
Commit
b234d92c
authored
Mar 25, 2013
by
Stefan Monnier
Browse files
* lisp/font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
part of "(error-foo)".
parent
ddfa3cb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
lisp/ChangeLog
lisp/ChangeLog
+7
-2
lisp/font-lock.el
lisp/font-lock.el
+2
-2
No files found.
lisp/ChangeLog
View file @
b234d92c
2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
* font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
part of "(error-foo)".
2013-03-24 Juri Linkov <juri@jurta.org>
* replace.el (list-matching-lines-prefix-face): New defcustom.
...
...
@@ -24,8 +29,8 @@
2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
* emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
Make
it safe-local.
* emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
Make
it safe-local.
* vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
...
...
lisp/font-lock.el
View file @
b234d92c
...
...
@@ -2323,12 +2323,12 @@ in which C preprocessor directives are used. e.g. `asm-mode' and
"\\_>"
)
.
1
)
;; Exit/Feature symbols as constants.
(
,
(
concat
"(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\>"
(
,
(
concat
"(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\
_
>"
"[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
)
(
1
font-lock-keyword-face
)
(
2
font-lock-constant-face
nil
t
))
;; Erroneous structures.
(
"(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>"
1
font-lock-warning-face
)
(
"(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\
_
>"
1
font-lock-warning-face
)
;; Words inside \\[] tend to be for `substitute-command-keys'.
(
"\\\\\\\\\\[\\(\\(?:\\sw\\|\\s_\\)+\\)\\]"
(
1
font-lock-constant-face
prepend
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment