From 77f6acc29c9eed9985c0f3df7ae5889750a8405a Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Tue, 20 Jan 2015 21:34:28 -0500 Subject: [PATCH] Fix void-variable error introduced by last commit --- spacemacs/packages.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index ae6aa81a3..53264ffd5 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -100,7 +100,7 @@ ;; rainbow-blocks rainbow-delimiters ;; install fail on windows - ;; rainbow-mode + rainbow-mode rcirc rcirc-color recentf @@ -2111,8 +2111,10 @@ which require an initialization must be listed explicitly in the list.") (defun spacemacs//window-numbering-assign (windows) "Custom number assignment for special buffers." - (mapc (lambda (w) (when (eq w neo-global--window) - (window-numbering-assign w 0))) + (mapc (lambda (w) + (when (and (boundp 'neo-global--window) + (eq w neo-global--window)) + (window-numbering-assign w 0))) windows)) (add-hook 'window-numbering-before-hook 'spacemacs//window-numbering-assign)))