projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe81c04
)
* lisp/files.el (hack-one-local-variable): Allow `add-function` in `eval:`
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 27 Jun 2021 22:01:13 +0000
(18:01 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 27 Jun 2021 22:01:13 +0000
(18:01 -0400)
Fixes: bug#49163
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 5d2fe0a77be2f5e70b9f710bcacbce09544cc614..04db0faffd0d5b9c3cd2bacdc01011e48c8610ab 100644
(file)
--- 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.