summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorHarald Jörg <haj@posteo.de>2023-08-02 23:53:42 +0200
committerHarald Jörg <haj@posteo.de>2023-08-02 23:59:42 +0200
commit3c44d7a1b70a2f7c813c9034bb3e28932a1a66c9 (patch)
treeb99ae0daefd95a3077053df6321283803c296c22 /lisp/emacs-lisp/timer.el
parent0910230be6ee858d8d8849a1fc9559bfd163dc38 (diff)
downloademacs-3c44d7a1b70a2f7c813c9034bb3e28932a1a66c9.tar.gz
emacs-3c44d7a1b70a2f7c813c9034bb3e28932a1a66c9.tar.bz2
emacs-3c44d7a1b70a2f7c813c9034bb3e28932a1a66c9.zip
cperl-mode.el: Subroutine names are fontified correctly in all places
Subroutine names are fontified as subroutine names even if the name is also the name of a builtin (fixing an ancient unreported bug). Subroutine name are just comments in comment and pod (fixing a bug introduced recently) * lisp/progmodes/cperl-mode.el (cperl-init-faces): Move fontification of sub declarations before that of builtins. Don't override existing faces when fontifying subroutine declarations. Don't fontify method calls even if the sub names match those of builtins. * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-fontify-sub-names): New tests with a subroutine name in several surroundings. * test/lisp/progmodes/cperl-mode-resources/sub-names.pl: New resource for the new test.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions