Browse Source

Use helm-projectile directly (fixes #352)

custom
Bozhidar Batsov 13 years ago
parent
commit
daabb1e373
  1. 8
      core/prelude-editor.el

8
core/prelude-editor.el

@ -289,13 +289,7 @@ Will only occur if prelude-whitespace is also enabled."
(interactive) (interactive)
(condition-case nil (condition-case nil
(if (projectile-project-root) (if (projectile-project-root)
;; add project files and buffers when in project
(helm-other-buffer '(helm-c-source-projectile-files-list
helm-c-source-projectile-buffers-list
helm-c-source-buffers-list
helm-c-source-recentf
helm-c-source-buffer-not-found)
"*helm prelude*")
(helm-projectile)
;; otherwise fallback to helm-mini ;; otherwise fallback to helm-mini
(helm-mini)) (helm-mini))
;; fall back to helm mini if an error occurs (usually in projectile-project-root) ;; fall back to helm mini if an error occurs (usually in projectile-project-root)

Loading…
Cancel
Save