Fix narf/helm-buffers-dwim (fix max-specpdl-size error)

This commit is contained in:
Henrik Lissner 2016-03-01 02:03:15 -05:00
parent 55d7d97500
commit bfdfe43b3b

View file

@ -83,9 +83,7 @@
"Displays open buffers in current project. If ALL-P, then show all open "Displays open buffers in current project. If ALL-P, then show all open
buffers." buffers."
(interactive) (interactive)
(if (and (not all-p) (narf/project-p)) (let ((narf-helm-force-project-buffers (and (not all-p) (narf/project-p))))
(cl-letf (((symbol-function 'buffer-list) 'narf/get-buffers))
(helm-buffers-list))
(helm-buffers-list))) (helm-buffers-list)))
(provide 'defuns-helm) (provide 'defuns-helm)