Skip to content

Commit

Permalink
Highlight for every all frames
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoppinBlockParty committed Oct 22, 2018
1 parent c82ec11 commit f94cb2c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions evil-search.el
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,12 @@ The following properties are supported:
(defun evil-ex-hl-buffers()
"Return buffers to highlight in."
(let ((bufs (list)) buf)
(dolist (win (window-list nil -1 nil))
(setq buf (window-buffer win))
(unless (or (memq buf bufs)
(memq (with-current-buffer buf major-mode) evil-ex-hl-skip-major-mode-list))
(setq bufs (append bufs (list buf)))))
(dolist (frame (frame-list))
(dolist (win (window-list frame -1 nil))
(setq buf (window-buffer win))
(unless (or (memq buf bufs)
(memq (with-current-buffer buf major-mode) evil-ex-hl-skip-major-mode-list))
(setq bufs (append bufs (list buf))))))
bufs))

(defun evil-ex-delete-hl (name)
Expand Down

0 comments on commit f94cb2c

Please sign in to comment.