diff options
| author | Daniel Pfeiffer | 2005-05-05 19:04:39 +0000 |
|---|---|---|
| committer | Daniel Pfeiffer | 2005-05-05 19:04:39 +0000 |
| commit | eb6121fce5d47678001a3eb32ea54e1ea1f38727 (patch) | |
| tree | 578a26be2a09816e47de7fdc820f5673b2a14bc0 | |
| parent | d5f2a89966b7936d09082a6c779e2fec9a42d354 (diff) | |
| download | emacs-eb6121fce5d47678001a3eb32ea54e1ea1f38727.tar.gz emacs-eb6121fce5d47678001a3eb32ea54e1ea1f38727.zip | |
(cperl-init-faces): Use font-lock-negation-char-face.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 4a701edcca2..35957457a9a 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -4751,7 +4751,10 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4751 | (t '("^[ \t{}]*\\(my\\|local\\our\\)[ \t]*\\(([ \t]*\\)?\\([$@%*][a-zA-Z0-9_:]+\\)" | 4751 | (t '("^[ \t{}]*\\(my\\|local\\our\\)[ \t]*\\(([ \t]*\\)?\\([$@%*][a-zA-Z0-9_:]+\\)" |
| 4752 | 3 font-lock-variable-name-face))) | 4752 | 3 font-lock-variable-name-face))) |
| 4753 | '("\\<for\\(each\\)?\\([ \t]+\\(my\\|local\\|our\\)\\)?[ \t]*\\(\\$[a-zA-Z_][a-zA-Z_0-9]*\\)[ \t]*(" | 4753 | '("\\<for\\(each\\)?\\([ \t]+\\(my\\|local\\|our\\)\\)?[ \t]*\\(\\$[a-zA-Z_][a-zA-Z_0-9]*\\)[ \t]*(" |
| 4754 | 4 font-lock-variable-name-face))) | 4754 | 4 font-lock-variable-name-face) |
| 4755 | ;; Avoid s!!, qq!! etc. when not fontifying syntaxically | ||
| 4756 | '("\\(?:^\\|[^smywqrx]\\)\\(!\\)" 1 font-lock-negation-char-face) | ||
| 4757 | '("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend))) | ||
| 4755 | (setq | 4758 | (setq |
| 4756 | t-font-lock-keywords-1 | 4759 | t-font-lock-keywords-1 |
| 4757 | (and (fboundp 'turn-on-font-lock) ; Check for newer font-lock | 4760 | (and (fboundp 'turn-on-font-lock) ; Check for newer font-lock |