Fix disruptive evil-ex-hl-do-update-highlight errors caused by popwin

This commit is contained in:
Henrik Lissner 2015-10-18 02:27:40 -04:00
parent 3c98b56ed3
commit bf69e9c2fa

View file

@ -64,6 +64,10 @@
(defadvice evil-window-vsplit (after evil-window-vsplit-jump activate)
(evil-window-right 1))
;; Fix disruptive errors w/ hidden buffers caused by popwin
(defadvice evil-ex-hl-do-update-highlight (around evil-ex-hidden-buffer-ignore-errors activate)
(ignore-errors ad-do-it))
;; Restore vimmish ex-mode keymaps in isearch
;; Hide keystroke display while isearch is active
(add-hook! isearch-mode (setq echo-keystrokes 0))