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 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." | |||
| 867 | (unless ,variable | 867 | (unless ,variable |
| 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 ,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) |