[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d0ad630: Fix fontification of %d in strings in cperl-mode
From: |
Lars Ingebrigtsen |
Subject: |
master d0ad630: Fix fontification of %d in strings in cperl-mode |
Date: |
Fri, 7 Aug 2020 08:07:29 -0400 (EDT) |
branch: master
commit d0ad6306727067936c9c8717dfc4e3aae5774902
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix fontification of %d in strings in cperl-mode
* lisp/progmodes/cperl-mode.el (cperl-init-faces): Don't fontify
directives like %d in strings as hashes (bug#22867).
---
lisp/progmodes/cperl-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 5ecd566..6122caf 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -5753,7 +5753,7 @@ indentation and initial hashes. Behaves usually outside
of comment."
(if (eq (char-after (match-beginning 2)) ?%)
'cperl-hash-face
'cperl-array-face)
- t) ; arrays and hashes
+ nil) ; arrays and hashes
("\\(\\([$@]+\\)[a-zA-Z_:][a-zA-Z0-9_:]*\\)[ \t]*\\([[{]\\)"
1
(if (= (- (match-end 2) (match-beginning 2)) 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d0ad630: Fix fontification of %d in strings in cperl-mode,
Lars Ingebrigtsen <=