projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e890d4b
)
Tweak previous footnote-mode patch
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 25 Jul 2019 17:38:17 +0000
(19:38 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 25 Jul 2019 17:39:51 +0000
(19:39 +0200)
* lisp/mail/footnote.el (footnote--local-advice): Ensure that the
variable really is local.
lisp/mail/footnote.el
patch
|
blob
|
history
diff --git
a/lisp/mail/footnote.el
b/lisp/mail/footnote.el
index 111aa7f3ea3c9d948dda905423d2e82c96370ce6..202e55280606c94ba9baee84ae8cb0a2f8ed8cbb 100644
(file)
--- 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)