Fix associate! unbound major-mode var check
This commit is contained in:
parent
615d06442c
commit
22825b80f0
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue