Commit 706bf631 authored by David El-baze's avatar David El-baze

Feature: Show unsaved files 2/2

parent 2cabdd8d
......@@ -1158,12 +1158,12 @@ Return nil if DIR is not an existing directory."
"Return list of unsaved buffers from projectile buffers."
(interactive)
(let ((rlist '()))
; (when (boundp 'projectile-project-buffers)
(when (boundp 'projectile-project-buffers)
(dolist (buf (projectile-project-buffers))
(with-current-buffer buf
(if (and (buffer-modified-p) buffer-file-name)
(setq rlist (cons (buffer-file-name) rlist))
)));)
))))
rlist))
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment