add guard to check winum is loaded to fix #10446

This commit is contained in:
Dan Girshovich 2018-07-20 13:13:27 -07:00 committed by Sylvain Benner
parent 2148562982
commit 1ad673fcb7

View file

@ -319,8 +319,9 @@
(defalias
'spacemacs/helm-project-do-grep-region-or-symbol
'helm-projectile-grep))
:config (define-key helm-projectile-find-file-map
(kbd "RET") 'spacemacs/helm-find-files-windows)))
:config (when (configuration-layer/package-used-p 'winum)
(define-key helm-projectile-find-file-map
(kbd "RET") 'spacemacs/helm-find-files-windows))))
(defun helm/init-helm-spacemacs-help ()
(use-package helm-spacemacs-help