projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10aa44a
)
* lisp/files.el (hack-local-variables): Don't burp when files-x isn't loaded
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 5 May 2019 12:57:04 +0000
(08:57 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 5 May 2019 12:57:04 +0000
(08:57 -0400)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index c05d70a00ecb1568d5d3a60f6478310ed0df6f1e..518394fdcd7130a279e7407bc8a8696372f2714c 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-3590,7
+3590,9
@@
local variables, but directory-local variables may still be applied."
result)
(unless (eq handle-mode t)
(setq file-local-variables-alist nil)
- (when (file-remote-p default-directory)
+ (when (and (file-remote-p default-directory)
+ (fboundp 'hack-connection-local-variables)
+ (fboundp 'connection-local-criteria-for-default-directory))
(with-demoted-errors "Connection-local variables error: %s"
;; Note this is a no-op if enable-local-variables is nil.
(hack-connection-local-variables