diff options
| author | Protesilaos Stavrou | 2021-01-19 08:11:39 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-01-19 08:11:39 +0100 |
| commit | b62a1e358befe996a4e2f4038ef48a9dd44901f8 (patch) | |
| tree | 0210699be4fb6c61daf719b475aa73e213112e9b /etc | |
| parent | 4e64d023563988a570b6c2ac60d48af7f2d64a68 (diff) | |
| download | emacs-b62a1e358befe996a4e2f4038ef48a9dd44901f8.tar.gz emacs-b62a1e358befe996a4e2f4038ef48a9dd44901f8.zip | |
Add 'perl-non-scalar-variable' face to perl-mode
* etc/NEWS: Document the new face (bug#45840).
* lisp/progmodes/perl-mode.el (perl-non-scalar-variable): Define new
face.
(perl-font-lock-keywords-2): Apply 'perl-non-scalar-variable' face.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -352,6 +352,12 @@ When emacsclient connects, Emacs will (by default) output a message | |||
| 352 | about how to exit the client frame. If 'server-client-instructions' | 352 | about how to exit the client frame. If 'server-client-instructions' |
| 353 | is set to nil, this message is inhibited. | 353 | is set to nil, this message is inhibited. |
| 354 | 354 | ||
| 355 | ** Perl mode | ||
| 356 | |||
| 357 | --- | ||
| 358 | *** New face 'perl-non-scalar-variable'. | ||
| 359 | This is used to fontify non-scalar variables. | ||
| 360 | |||
| 355 | ** Python mode | 361 | ** Python mode |
| 356 | 362 | ||
| 357 | *** 'python-shell-interpreter' now defaults to python3 on systems with python3. | 363 | *** 'python-shell-interpreter' now defaults to python3 on systems with python3. |