This commit is contained in:
Henrik Lissner 2015-12-06 22:58:32 -05:00
parent b04992367a
commit 12b30b691e
2 changed files with 4 additions and 3 deletions

View file

@ -51,7 +51,9 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
(defun narf/get-all-buffers ()
"Get all buffers across all workgroups. Depends on
`wg-mess-with-buffer-list'."
(wg-buffer-list-emacs))
(if (and (featurep 'workgroups2) workgroups-mode)
(wg-buffer-list-emacs)
(buffer-list)))
;;;###autoload
(defun narf/get-buffers ()