diff options
| author | Juri Linkov | 2025-04-29 19:55:48 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-04-29 19:55:48 +0300 |
| commit | 746a3cb3143194436c4a1a63d26aac890c1a705f (patch) | |
| tree | 12368eecd009a137a1acf68de131e6aa5219d1ab /lisp/progmodes/python.el | |
| parent | 9d0595d8795fbd604c6429317daff4d6445f8904 (diff) | |
| download | emacs-746a3cb3143194436c4a1a63d26aac890c1a705f.tar.gz emacs-746a3cb3143194436c4a1a63d26aac890c1a705f.zip | |
Ignore parens in strings for outline headings in emacs-lisp-mode.
* lisp/outline.el (outline-font-lock-keywords): For non-nil
outline-search-function return a lambda that calls the function,
then sets the match data to the end of the line that is equivalent
to adding ".*" in the regexp. Then search functions don't need to
match ".*" themselves.
* lisp/progmodes/elisp-mode.el (elisp-outline-search):
New function to skip leading parens in strings when searching
for outline headings.
(emacs-lisp-mode): Set buffer-local 'outline-search-function' to
'elisp-outline-search'.
https://lists.gnu.org/archive/html/emacs-devel/2025-04/msg00934.html
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions