]> git.eshelyaron.com Git - emacs.git/commit
Fix setting fill-paragraph-function in footnote-mode
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 25 Jul 2019 17:35:17 +0000 (19:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 25 Jul 2019 17:39:51 +0000 (19:39 +0200)
commite890d4b5d1795b6a02a1baeebb4ae98da0537671
tree5dcd656df1abe4c56a2fa45da7f3c51e1a2a21aa
parent28d231dbbb1f71bf1836148bb52969c31a05fe71
Fix setting fill-paragraph-function in footnote-mode

* lisp/mail/footnote.el (footnote--local-advice): New macro
refactored out from the code used to advice
footnote--adaptive-fill-function in footnote-mode.
(footnote-mode): Use it to advice both that variable and
fill-paragraph-function (the latter to avoid overwriting the major
mode's value) (bug#27775)
(footnote--fill-paragraph): Adjust calling convention now that
it's an :around advice.
lisp/mail/footnote.el