mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
Fix associate! unbound major-mode var check
This commit is contained in:
@@ -101,7 +101,8 @@ Examples:
|
||||
(defun ,hook-name ()
|
||||
(when (and (if ,match (string-match-p ,match (buffer-file-name)) t)
|
||||
(or ,(not files)
|
||||
(and (not ,mode)
|
||||
(and (boundp ',mode)
|
||||
(not ,mode)
|
||||
(narf/project-has-files ,@(-list files)))))
|
||||
(,mode 1)))
|
||||
,@(if (and in (listp in))
|
||||
|
Reference in New Issue
Block a user