]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure read-symbol-shorthands is permanently local
authorJoão Távora <joaotavora@gmail.com>
Thu, 30 Nov 2023 12:00:44 +0000 (06:00 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:05:08 +0000 (12:05 +0100)
bug#63480, bug#67390

* lisp/files.el (permanently-enabled-local-variables): Add
  read-symbol-shorthands.

(cherry picked from commit 5e4a0a29fa3562ce9b2b8e497c6e71e6bc169082)

lisp/files.el

index 6cd784d0421fa823c2d531ea0fb24bbfd3986134..4c7faf4e0b5d608d4c1e20621459db4f6ad1d412 100644 (file)
@@ -3754,7 +3754,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.")