branch: elpa/drupal-mode
commit 043d79f4ff5b6aa201490ec5ea289c6d53146810
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Sort imenu entries by name in .make files.
---
drush-make-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/drush-make-mode.el b/drush-make-mode.el
index cbd7c3ae74..57b45cd932 100644
--- a/drush-make-mode.el
+++ b/drush-make-mode.el
@@ -47,6 +47,7 @@
("Themes" "^projects\\[\\([^]]+\\)\\]\\[type\\] *= *theme" 1)
("Modules" "^projects\\[\\([^]]+\\)\\]\\[type\\] *= *module" 1)
("Profiles" "^projects\\[\\([^]]+\\)\\]\\[type\\] *= *profile" 1)
("Sections" "^;;; \\(.*\\)" 1)))
+ (setq imenu-sort-function #'imenu--sort-by-name)
(imenu-add-menubar-index)
;; Enable general `drupal-mode'.