Fix void-variable nose-mode error in python #628
Caused by associate! only doing a fboundp check on MODE, but not boundp, before trying to access its value.
This commit is contained in:
parent
71dc572d79
commit
c0b904afca
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ The available conditions are:
|
|||
`(progn
|
||||
(defun ,hook-name ()
|
||||
(when (and (fboundp ',mode)
|
||||
(not ,mode)
|
||||
(not (bound-and-true-p ,mode))
|
||||
(and buffer-file-name (not (file-remote-p buffer-file-name)))
|
||||
,(if match `(if buffer-file-name (string-match-p ,match buffer-file-name)) t)
|
||||
,(if files (doom--resolve-path-forms files '(doom-project-root)) t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue