emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bugfix/shorthand-fixes 3c6719f55c1 1/6: Make sure read-symbol-shorthands


From: João Távora
Subject: bugfix/shorthand-fixes 3c6719f55c1 1/6: Make sure read-symbol-shorthands is permanently local
Date: Thu, 30 Nov 2023 09:05:45 -0500 (EST)

branch: bugfix/shorthand-fixes
commit 3c6719f55c124a7fdef22b341f6baa540026a2ef
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Make sure read-symbol-shorthands is permanently local
    
    bug#63480, bug#67390
    
    * lisp/files.el (permanently-enabled-local-variables): Add
      read-symbol-shorthands.
---
 lisp/files.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index 1cdcec23b11..1717d1eeeff 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3735,7 +3735,8 @@ function is allowed to change the contents of this alist.
 This hook is called only if there is at least one file-local
 variable to set.")
 
-(defvar permanently-enabled-local-variables '(lexical-binding)
+(defvar permanently-enabled-local-variables
+  '(lexical-binding read-symbol-shorthands)
   "A list of file-local variables that are always enabled.
 This overrides any `enable-local-variables' setting.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]