Commit a419e92
committed
; cperl-mode.el: Fix fontification error with signatures
This fixes the second issue in Bug#79269.
* lisp/progmodes/cperl-mode.el (cperl-init-faces): Move handling
of signatures with initializers from the "anchor" to the
"anchored" matcher
* test/lisp/progmodes/cperl-mode-resources/proto-and-attrs.pl (sub_7):
Test case for Bug#79269, wrong face report
* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-fontify-attrs-and-signatures): Make sure that the test
catches sub_7 for Bug#792691 parent 680ef7b commit a419e92
File tree
3 files changed
+16
-5
lines changed- lisp/progmodes
- test/lisp/progmodes
- cperl-mode-resources
3 files changed
+16
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6374 | 6374 | | |
6375 | 6375 | | |
6376 | 6376 | | |
6377 | | - | |
6378 | | - | |
6379 | | - | |
| 6377 | + | |
6380 | 6378 | | |
6381 | 6379 | | |
6382 | 6380 | | |
| |||
6392 | 6390 | | |
6393 | 6391 | | |
6394 | 6392 | | |
6395 | | - | |
| 6393 | + | |
| 6394 | + | |
| 6395 | + | |
| 6396 | + | |
| 6397 | + | |
| 6398 | + | |
| 6399 | + | |
6396 | 6400 | | |
6397 | 6401 | | |
6398 | 6402 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments