[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9060fbd: * lisp/files.el (hack-one-local-variable): Allow `add-fu
From: |
Stefan Monnier |
Subject: |
master 9060fbd: * lisp/files.el (hack-one-local-variable): Allow `add-function` in `eval:` |
Date: |
Sun, 27 Jun 2021 18:01:19 -0400 (EDT) |
branch: master
commit 9060fbd3b5cd3ccae5ef88a0204332b75af94532
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/files.el (hack-one-local-variable): Allow `add-function` in `eval:`
Fixes: bug#49163
---
lisp/files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/files.el b/lisp/files.el
index 5d2fe0a..04db0fa 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4041,7 +4041,7 @@ already the major mode."
('eval
(pcase val
(`(add-hook ',hook . ,_) (hack-one-local-variable--obsolete hook)))
- (save-excursion (eval val)))
+ (save-excursion (eval val t)))
(_
(hack-one-local-variable--obsolete var)
;; Make sure the string has no text properties.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9060fbd: * lisp/files.el (hack-one-local-variable): Allow `add-function` in `eval:`,
Stefan Monnier <=