Fix issue 182

This commit is contained in:
capitaomorte 2011-08-24 00:46:44 +00:00
parent 51e99ef3a0
commit a20a2e4232

View File

@ -836,10 +836,9 @@ behaviour. Can also be a function of zero arguments.")
Do this unless `yas/dont-activate' is t " Do this unless `yas/dont-activate' is t "
(interactive) (interactive)
(unless (or (minibufferp) (unless (or (minibufferp)
(and (functionp yas/dont-activate) (if (functionp yas/dont-activate)
(funcall yas/dont-activate)) (funcall yas/dont-activate)
(and (boundp yas/dont-activate) yas/dont-activate))
yas/dont-activate))
;; Load all snippets definitions unless we still don't have a ;; Load all snippets definitions unless we still don't have a
;; root-directory or some snippets have already been loaded. ;; root-directory or some snippets have already been loaded.
;; ;;