]> git.eshelyaron.com Git - emacs.git/commit
(comment-setup-function): Make it usable with `add-function`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 5 May 2025 18:05:36 +0000 (14:05 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:51:10 +0000 (10:51 +0200)
commitd54a4aec26820b87cbf095beb956d92efebafd5d
tree46154166b857c805e15eecd9b8619fb182a03476
parenta554aaa3db12b684b24fc103ee3efccdc5cfbb5b
(comment-setup-function): Make it usable with `add-function`

* lisp/newcomment.el (comment-setup-function): Give it a non-nil default.
(comment-normalize-vars): Call it unconditionally.

(cherry picked from commit a64a56fbf03d5ece647254c8920fe5af59cdf3cd)
lisp/newcomment.el