From 562825ecb650034ce481e94c27ab59db3d0861e0 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 10 Nov 2014 23:34:50 -0500 Subject: [PATCH] Fix error with diminish and smartparens --- spacemacs/packages.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 97cdaeb32..d89248019 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1806,10 +1806,10 @@ determine the state to enable when escaping from the insert state.") (progn (add-to-hooks 'smartparens-mode '(erlang-mode-hook markdown-mode-hook - prog-mode-hook)) - (spacemacs//diminish smartparens-mode " (Ⓢ)")) + prog-mode-hook))) :config (progn + (spacemacs//diminish smartparens-mode " (Ⓢ)") (defun spacemacs/smartparens-pair-newline (id action context) (save-excursion (newline)