* lisp/simple.el (analyze-text-conversion): Fix typo.
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Add comment about
`post-text-conversion-hook`.
(put 'c-initialize-cc-mode initprop c-initialization-ok))))
;; Set up text conversion, for Emacs >= 30.0
+ ;; This is needed here because CC-mode's implementation of
+ ;; electricity does not rely on `post-self-insert-hook' (which is
+ ;; already handled adequately by `analyze-text-conversion').
(when (boundp 'post-text-conversion-hook)
(add-hook 'post-text-conversion-hook #'c-post-text-conversion nil t))
and delete the adjascent pair if
`electric-pair-delete-adjacent-pairs'.
- - Run `post-self-insert-functions' for the last character of
+ - Run `post-self-insert-hook' for the last character of
any inserted text so that modes such as `electric-pair-mode'
can work.