mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-20 11:33:09 -08:00
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. |
||
|---|---|---|
| .. | ||
| c-ts-mode-resources | ||
| cperl-mode-resources | ||
| elisp-mode-resources | ||
| elixir-ts-mode-resources | ||
| flymake-resources | ||
| go-ts-mode-resources | ||
| heex-ts-mode-resources | ||
| java-ts-mode-resources | ||
| js-resources | ||
| project-resources | ||
| ruby-mode-resources | ||
| sh-script-resources | ||
| typescript-ts-mode-resources | ||
| xref-resources | ||
| asm-mode-tests.el | ||
| autoconf-tests.el | ||
| bat-mode-tests.el | ||
| bug-reference-tests.el | ||
| c-ts-mode-tests.el | ||
| cc-mode-tests.el | ||
| compile-tests.el | ||
| cperl-mode-tests.el | ||
| eglot-tests.el | ||
| elisp-mode-tests.el | ||
| elixir-ts-mode-tests.el | ||
| etags-tests.el | ||
| executable-tests.el | ||
| f90-tests.el | ||
| flymake-tests.el | ||
| gdb-mi-tests.el | ||
| glasses-tests.el | ||
| go-ts-mode-tests.el | ||
| grep-tests.el | ||
| heex-ts-mode-tests.el | ||
| hideshow-tests.el | ||
| java-ts-mode-tests.el | ||
| js-tests.el | ||
| octave-tests.el | ||
| opascal-tests.el | ||
| pascal-tests.el | ||
| perl-mode-tests.el | ||
| project-tests.el | ||
| ps-mode-tests.el | ||
| python-tests.el | ||
| ruby-mode-tests.el | ||
| ruby-ts-mode-tests.el | ||
| scheme-tests.el | ||
| sh-script-tests.el | ||
| sql-tests.el | ||
| subword-tests.el | ||
| tcl-tests.el | ||
| typescript-ts-mode-tests.el | ||
| xref-tests.el | ||