diff options
| author | Miles Bader | 2005-06-15 02:27:55 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-15 02:27:55 +0000 |
| commit | e6572f79e39619f87dd8ab1257865924e80bae73 (patch) | |
| tree | 197b8e7a5d2676a1dc4411d33decfaea0554c346 | |
| parent | a5d370313684626a2ec1f0f24e54db6499b1c651 (diff) | |
| download | emacs-e6572f79e39619f87dd8ab1257865924e80bae73.tar.gz emacs-e6572f79e39619f87dd8ab1257865924e80bae73.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-420
Fix cperl-mode font-lock problem
2005-06-15 Miles Bader <miles@gnu.org>
* lisp/progmodes/cperl-mode.el (cperl-init-faces): Use literal cperl
faces instead of (non-existent) variables.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 884b9e0023a..83e92a71907 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-06-15 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/cperl-mode.el (cperl-init-faces): Use literal cperl | ||
| 4 | faces instead of (non-existent) variables. | ||
| 5 | |||
| 1 | 2005-06-14 Miles Bader <miles@gnu.org> | 6 | 2005-06-14 Miles Bader <miles@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/ld-script.el (ld-script-location-counter): | 8 | * progmodes/ld-script.el (ld-script-location-counter): |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index d81ee1ad5c2..9826c995b97 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -4779,15 +4779,15 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4779 | '( | 4779 | '( |
| 4780 | ("\\(\\([@%]\\|\$#\\)[a-zA-Z_:][a-zA-Z0-9_:]*\\)" 1 | 4780 | ("\\(\\([@%]\\|\$#\\)[a-zA-Z_:][a-zA-Z0-9_:]*\\)" 1 |
| 4781 | (if (eq (char-after (match-beginning 2)) ?%) | 4781 | (if (eq (char-after (match-beginning 2)) ?%) |
| 4782 | cperl-hash-face | 4782 | 'cperl-hash |
| 4783 | cperl-array-face) | 4783 | 'cperl-array) |
| 4784 | t) ; arrays and hashes | 4784 | t) ; arrays and hashes |
| 4785 | ("\\(\\([$@]+\\)[a-zA-Z_:][a-zA-Z0-9_:]*\\)[ \t]*\\([[{]\\)" | 4785 | ("\\(\\([$@]+\\)[a-zA-Z_:][a-zA-Z0-9_:]*\\)[ \t]*\\([[{]\\)" |
| 4786 | 1 | 4786 | 1 |
| 4787 | (if (= (- (match-end 2) (match-beginning 2)) 1) | 4787 | (if (= (- (match-end 2) (match-beginning 2)) 1) |
| 4788 | (if (eq (char-after (match-beginning 3)) ?{) | 4788 | (if (eq (char-after (match-beginning 3)) ?{) |
| 4789 | cperl-hash-face | 4789 | 'cperl-hash |
| 4790 | cperl-array-face) ; arrays and hashes | 4790 | 'cperl-array) ; arrays and hashes |
| 4791 | font-lock-variable-name-face) ; Just to put something | 4791 | font-lock-variable-name-face) ; Just to put something |
| 4792 | t) | 4792 | t) |
| 4793 | ;;("\\([smy]\\|tr\\)\\([^a-z_A-Z0-9]\\)\\(\\([^\n\\]*||\\)\\)\\2") | 4793 | ;;("\\([smy]\\|tr\\)\\([^a-z_A-Z0-9]\\)\\(\\([^\n\\]*||\\)\\)\\2") |