summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHarald Jörg <haj@posteo.de>2021-01-05 10:15:04 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-05 10:15:04 +0100
commit06810abc591fb40450bcf448d584316d26e8e98b (patch)
tree39e84f75380143ed023c43339eba017dce90b445 /etc
parent8ef4314c44a046e92bcd7dddde26203a9d641f09 (diff)
downloademacs-06810abc591fb40450bcf448d584316d26e8e98b.tar.gz
perl-mode: Display here-docs as strings instead of comments
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle HERE doc starter lines ending in a comment. (perl-heredoc): New face for HERE docs, inheriting from font-lock-string-face. (perl-font-lock-syntactic-face-function): Apply the new face to HERE docs (Bug#23461). * test/lisp/progmodes/cperl-mode-tests.el (cperl-test--run-bug-10483): Skip for Perl mode. The test explicitly calls a function of CPerl mode.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d8f25ab362e..ef1c4b39a6f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1834,6 +1834,9 @@ also keep the type information of their arguments. Use the
** CPerl Mode
---
+*** New face 'perl-heredoc', used for heredoc elements.
+
+---
*** The command 'cperl-set-style' offers the new value "PBP".
This value customizes Emacs to use the style recommended in Damian
Conway's book "Perl Best Practices" for indentation and formatting