Don't return anything from set! on failure

This commit is contained in:
Henrik Lissner 2017-06-24 17:22:10 +02:00
parent cbfb3eeda4
commit 383d7dbddb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -239,7 +239,8 @@ executed when called with `set!'. FORMS are not evaluated until `set!' calls it.
(if fn (if fn
(apply fn values) (apply fn values)
(when doom-debug-mode (when doom-debug-mode
(message "No setting found for %s" keyword))))) (message "No setting found for %s" keyword)
nil))))
(provide 'core-lib) (provide 'core-lib)
;;; core-lib.el ends here ;;; core-lib.el ends here