]> git.eshelyaron.com Git - emacs.git/commit
Improve CC Mode support for text conversion
authorPo Lu <luangruo@yahoo.com>
Fri, 2 Jun 2023 07:41:54 +0000 (15:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 2 Jun 2023 07:41:54 +0000 (15:41 +0800)
commit5dbcc8bd6c1c9188195b748911a0b00cca24cfd6
tree34450d6bd4fbcaeeeb1975c628f4be0583b8f51d
parent189a91bfb699babd936dae48b96d71a332cac8d2
Improve CC Mode support for text conversion

* lisp/progmodes/cc-cmds.el (c-post-text-conversion): New
function.
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Add it as
the `post-texxt-conversion-hook'.
* lisp/simple.el (post-text-conversion-hook): New hook.
(analyze-text-conversion): Run it until success before trying
post insert functions.
lisp/progmodes/cc-cmds.el
lisp/progmodes/cc-mode.el
lisp/simple.el