branch: elpa/rpm-spec-mode commit d3c7d70f224d002d029aeccc19fb9885745d6f1c Author: Björn Bidar <bjorn.bi...@thaodan.de> Commit: Björn Bidar <bjorn.bi...@thaodan.de>
Fix push index --- rpm-spec-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el index 369dded242..d2c050246a 100644 --- a/rpm-spec-mode.el +++ b/rpm-spec-mode.el @@ -675,8 +675,7 @@ leaves point makes no difference." (if (setq submenu (assoc section rpm-imenu-index)) (setf (cdr submenu) (cons new-index (cdr submenu))) - (push 'rpm-imenu-index - (list section new-index)))) + (push (list section new-index) rpm-imenu-index))) rpm-imenu-index)) ;;------------------------------------------------------------