diff options
| -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 202e5528060..fc74122ecd2 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el | |||
| @@ -868,7 +868,7 @@ advice, and FUNCTION is what'll be added as an :around advice." | |||
| 868 | ;; nil and `ignore' have the same semantics for adaptive-fill-function, | 868 | ;; nil and `ignore' have the same semantics for adaptive-fill-function, |
| 869 | ;; but only `ignore' behaves correctly with add/remove-function. | 869 | ;; but only `ignore' behaves correctly with add/remove-function. |
| 870 | (setq-local ,variable #'ignore)) | 870 | (setq-local ,variable #'ignore)) |
| 871 | (remove-function (local ',variable) #'function) | 871 | (remove-function (local ',variable) #',function) |
| 872 | (when ,mode | 872 | (when ,mode |
| 873 | (add-function :around (local ',variable) | 873 | (add-function :around (local ',variable) |
| 874 | #',function)))) | 874 | #',function)))) |