Skip to content

Instantly share code, notes, and snippets.

@dhaley
Created February 28, 2014 21:42
Show Gist options
  • Save dhaley/9280573 to your computer and use it in GitHub Desktop.
Save dhaley/9280573 to your computer and use it in GitHub Desktop.
This needs to filter out visible buffer windows
(defun projectile-project-buffers-non-visible ()
"Get a list of non visible project buffers."
(let ((project-root (projectile-project-root)))
(-filter (lambda (buffer)
(projectile-project-buffer-p buffer project-root))
(buffer-list))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment