diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-25 19:38:17 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-25 19:39:51 +0200 |
commit | bb2115fd5514497ce3dc94368388cdb82e17bb76 (patch) | |
tree | 7e5011783d43010d42595b650807d8330d06fe5d /lisp/mail | |
parent | e890d4b5d1795b6a02a1baeebb4ae98da0537671 (diff) | |
download | emacs-bb2115fd5514497ce3dc94368388cdb82e17bb76.tar.gz |
Tweak previous footnote-mode patch
* lisp/mail/footnote.el (footnote--local-advice): Ensure that the
variable really is local.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/footnote.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index 111aa7f3ea3..202e5528060 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el @@ -867,7 +867,7 @@ advice, and FUNCTION is what'll be added as an :around advice." (unless ,variable ;; nil and `ignore' have the same semantics for adaptive-fill-function, ;; but only `ignore' behaves correctly with add/remove-function. - (setq ,variable #'ignore)) + (setq-local ,variable #'ignore)) (remove-function (local ',variable) #'function) (when ,mode (add-function :around (local ',variable) |