diff options
| author | cashmere <cashmere@autistici.org> | 2026-02-18 02:48:25 +0100 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-02-18 02:48:25 +0100 |
| commit | 4000c2bdd94dc52714798576014e3f46d9c8664e (patch) | |
| tree | 76c69e40cdd132037fe3f0d8d95d1dbb1855bd22 | |
| parent | 0c4ef333c7fff5764864f92c332fc1752ba393af (diff) | |
| download | emacs-4000c2bdd94dc52714798576014e3f46d9c8664e.tar.gz | |
fix dashboard to use projectile projects instead of project-el
Switch dashboard-projects-backend back to projectile and use
projectile-switch-project-by-name so the dashboard shows the actual
known projectile projects. Reorder items to show projects first.
| -rw-r--r-- | config.org | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -339,13 +339,11 @@ (setq dashboard-image-banner-max-height 256) (setq dashboard-bookmarks-show-base t) (setq dashboard-bookmarks-item-format "%s") - (setq dashboard-projects-backend 'project-el) - (setq dashboard-items '((bookmarks . 5) - (projects . 5) - (recents . 5))) - (setq dashboard-projects-switch-function - (lambda (proj) - (project-switch-project proj))) + (setq dashboard-projects-backend 'projectile) + (setq dashboard-items '((projects . 5) + (recents . 5) + (bookmarks . 5))) + (setq dashboard-projects-switch-function #'projectile-switch-project-by-name) (setq dashboard-center-content t) (setq dashboard-set-file-icons t) (setq dashboard-set-heading-icons t) |
