diff options
author | Alan Mackenzie <acm@muc.de> | 2022-10-29 10:04:37 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-10-29 10:04:37 +0000 |
commit | dfde4fc82b1b11f19edaf795ce62e8d5ff25f9ff (patch) | |
tree | 0c44005812ce12e36f159b36a074cde6ee8cd69a /test/lisp/emacs-lisp/timer-tests.el | |
parent | ce527464440ca070e752ca18a68ebf2d369a14df (diff) | |
download | emacs-dfde4fc82b1b11f19edaf795ce62e8d5ff25f9ff.tar.gz emacs-dfde4fc82b1b11f19edaf795ce62e8d5ff25f9ff.tar.bz2 emacs-dfde4fc82b1b11f19edaf795ce62e8d5ff25f9ff.zip |
c-get-fontification-context: Refine the last non-default arm of the cond
This fixes bug #58772.
* lisp/progmodes/cc-fonts.el (c-get-fontification-context): Make the function
return (decl . nil) when MATCH-POS is in the second paren list of something
like DEFUN (..) (..). Tidy up untidy code with save-excursion's for greater
accuracy. Set a c-type text property value c-decl-arg-start to speed up
future calls. Reindent the entire function.
Diffstat (limited to 'test/lisp/emacs-lisp/timer-tests.el')
0 files changed, 0 insertions, 0 deletions