From: João Távora Date: Thu, 30 Nov 2023 12:00:44 +0000 (-0600) Subject: Make sure read-symbol-shorthands is permanently local X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f7f13bdabbc274deae930371243f2818bb038e44;p=emacs.git Make sure read-symbol-shorthands is permanently local bug#63480, bug#67390 * lisp/files.el (permanently-enabled-local-variables): Add read-symbol-shorthands. (cherry picked from commit 5e4a0a29fa3562ce9b2b8e497c6e71e6bc169082) --- diff --git a/lisp/files.el b/lisp/files.el index 6cd784d0421..4c7faf4e0b5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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.")