diff options
author | Alan Mackenzie <acm@muc.de> | 2022-05-24 16:33:20 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-05-24 16:37:50 +0000 |
commit | 881aa943e58abb338375d30789373506726c28ba (patch) | |
tree | 28a3615c762bdcb674ee8eb3857a3e6cb04d7ed6 /lisp/cedet | |
parent | 5c1c614940c35432d048d3879abdcab39c4d4229 (diff) | |
download | emacs-881aa943e58abb338375d30789373506726c28ba.tar.gz emacs-881aa943e58abb338375d30789373506726c28ba.tar.bz2 emacs-881aa943e58abb338375d30789373506726c28ba.zip |
CC Mode: Fix interplay between string fences and electric-pair-mode.
This is an amendment to the fix for bug #55230.
* lisp/progmodes/cc-defs.el: (c-with-string-fences): Add an edebug spec.
* lisp/progmodes/cc-cmds.el: (c-electric-pound, c-electric-brace)
(c-electric-slash, c-electric-star, c-electric-semi&comma, c-electric-colon)
(c-electric-lt-gt, c-electric-paren): Put the final
c--call-post-self-insert-hook-more-safely outside of the functions'
c-with-string-fences.
(c-electric-brace, c-electric-lt-gt, c-electric-paren): Put the calls to
electric-pair-post-self-insert-function outside of c-with-string-fences.
Diffstat (limited to 'lisp/cedet')
0 files changed, 0 insertions, 0 deletions