From b4545a7b96abbbf4dbb023deb78c737b3051c43e Mon Sep 17 00:00:00 2001 From: Daniel Luna Date: Tue, 13 Oct 2015 15:58:19 -0300 Subject: [PATCH] Shows error in *Messages* buffer when loading .spacemacs --- core/core-dotspacemacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-dotspacemacs.el b/core/core-dotspacemacs.el index 56899176c..c910aa2f1 100644 --- a/core/core-dotspacemacs.el +++ b/core/core-dotspacemacs.el @@ -361,7 +361,7 @@ value." "Load ~/.spacemacs if it exists." (let ((dotspacemacs (dotspacemacs/location))) (if (file-exists-p dotspacemacs) - (unless (ignore-errors (load dotspacemacs)) + (unless (with-demoted-errors "Error loading .spacemacs: %S" (load dotspacemacs)) (dotspacemacs/safe-load))))) (defun dotspacemacs/safe-load ()