Fix possible infinite appending to golden-ratio-exclude-buffer-names
Each time the config is reloaded with SPC f e R we were appending new strings to the variable.
This commit is contained in:
parent
4c72b369c3
commit
3290c8a94f
|
@ -113,9 +113,8 @@
|
|||
(defun idris/pre-init-golden-ratio ()
|
||||
(spacemacs|use-package-add-hook golden-ratio
|
||||
:post-config
|
||||
(setq golden-ratio-exclude-buffer-names
|
||||
(append golden-ratio-exclude-buffer-names
|
||||
'("*idris-notes*" "*idris-holes*" "*idris-info*")))))
|
||||
(dolist (x '("*idris-notes*" "*idris-holes*" "*idris-info*"))
|
||||
(add-to-list 'golden-ratio-exclude-buffer-names x))))
|
||||
|
||||
(defun idris/pre-init-popwin ()
|
||||
(spacemacs|use-package-add-hook popwin
|
||||
|
|
Loading…
Reference in a new issue