+narf/get-visible-windows; filter from exhaustive buffer list in narf/get-visible-buffers
This commit is contained in:
parent
c997bcc936
commit
8060e6c8d1
1 changed files with 5 additions and 1 deletions
|
@ -49,10 +49,14 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
|
|||
`wg-mess-with-buffer-list'."
|
||||
(wg-workgroup-associated-buffers (wg-current-workgroup)))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/get-visible-windows ()
|
||||
(-map #'get-buffer-window (narf/get-visible-buffers (narf/get-all-buffers))))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/get-visible-buffers (&optional buffer-list)
|
||||
"Get a list of buffers that are not buried (i.e. visible)"
|
||||
(-filter #'get-buffer-window (or buffer-list (narf/get-buffers))))
|
||||
(-filter #'get-buffer-window (or buffer-list (narf/get-all-buffers))))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/get-buried-buffers (&optional buffer-list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue