Fix ignored-local-variable-values for non-primitive values
* lisp/files.el (hack-local-variables-filter): Fix `ignored-local-variable-values' for non-primitive values (bug#56957).
This commit is contained in:
parent
118a911159
commit
3e60f7f3c3
1 changed files with 2 additions and 4 deletions
|
@ -3848,10 +3848,8 @@ DIR-NAME is the name of the associated directory. Otherwise it is nil."
|
|||
(cond ((memq var ignored-local-variables)
|
||||
;; Ignore any variable in `ignored-local-variables'.
|
||||
nil)
|
||||
((seq-some (lambda (elem)
|
||||
(and (eq (car elem) var)
|
||||
(eq (cdr elem) val)))
|
||||
ignored-local-variable-values)
|
||||
;; Ignore variables with the specified values.
|
||||
((member elt ignored-local-variable-values)
|
||||
nil)
|
||||
;; Obey `enable-local-eval'.
|
||||
((eq var 'eval)
|
||||
|
|
Loading…
Add table
Reference in a new issue