diff options
| author | Glenn Morris | 2013-06-06 17:35:45 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-06-06 17:35:45 -0400 |
| commit | d0341459c1a304dc06cc92fcde32ca8d13d7256d (patch) | |
| tree | 44274dc06887ee016b10727df9def54dc714450b | |
| parent | c5de26b468adddafb0d50d44de06a1169d20da92 (diff) | |
| download | emacs-d0341459c1a304dc06cc92fcde32ca8d13d7256d.tar.gz emacs-d0341459c1a304dc06cc92fcde32ca8d13d7256d.zip | |
* lisp/font-lock.el (lisp-font-lock-keywords-2): Treat user-error like error
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/font-lock.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8630d478fc2..bb5f3f50858 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-06-06 Glenn Morris <rgm@gnu.org> | 1 | 2013-06-06 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * font-lock.el (lisp-font-lock-keywords-2): | ||
| 4 | Treat user-error like error. | ||
| 5 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-char-before) | 6 | * emacs-lisp/bytecomp.el (byte-compile-char-before) |
| 4 | (byte-compile-backward-char, byte-compile-backward-word): | 7 | (byte-compile-backward-char, byte-compile-backward-word): |
| 5 | Handle explicit nil arguments. (Bug#14565) | 8 | Handle explicit nil arguments. (Bug#14565) |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index d18aea61236..8f4363b0bdf 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -2328,7 +2328,7 @@ in which C preprocessor directives are used. e.g. `asm-mode' and | |||
| 2328 | (1 font-lock-keyword-face) | 2328 | (1 font-lock-keyword-face) |
| 2329 | (2 font-lock-constant-face nil t)) | 2329 | (2 font-lock-constant-face nil t)) |
| 2330 | ;; Erroneous structures. | 2330 | ;; Erroneous structures. |
| 2331 | ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\_>" 1 font-lock-warning-face) | 2331 | ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|\\(?:user-\\)?error\\|signal\\)\\_>" 1 font-lock-warning-face) |
| 2332 | ;; Words inside \\[] tend to be for `substitute-command-keys'. | 2332 | ;; Words inside \\[] tend to be for `substitute-command-keys'. |
| 2333 | ("\\\\\\\\\\[\\(\\(?:\\sw\\|\\s_\\)+\\)\\]" | 2333 | ("\\\\\\\\\\[\\(\\(?:\\sw\\|\\s_\\)+\\)\\]" |
| 2334 | (1 font-lock-constant-face prepend)) | 2334 | (1 font-lock-constant-face prepend)) |