mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3827 (part 2): inverted file cookies
Turns out some autodefs weren't being noop'ed when their file's cookie returns nil. This was the secondary cause of #3827.
This commit is contained in:
@ -146,9 +146,8 @@ If COOKIE doesn't exist, return NULL-VALUE."
|
||||
(insert-file-contents file nil 0 256)
|
||||
(if (re-search-forward (format "^;;;###%s " (regexp-quote (or cookie "if")))
|
||||
nil t)
|
||||
(or (let ((load-file-name file))
|
||||
(eval (sexp-at-point) t))
|
||||
null-value)
|
||||
(let ((load-file-name file))
|
||||
(eval (sexp-at-point) t))
|
||||
null-value)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user