Fix associate! unbound major-mode var check

This commit is contained in:
Henrik Lissner 2016-03-13 15:13:33 -04:00
parent 615d06442c
commit 22825b80f0

View file

@ -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))