]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix imenu popup syntax
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 12:11:45 +0000 (14:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 12:11:54 +0000 (14:11 +0200)
* lisp/imenu.el (imenu--create-keymap): Fix menu syntax
(bug#56185).

lisp/imenu.el

index 2636e77d08e66685435d0634b8ef286497d9899d..4393c6ed6cb9089511e71dc175d9c4047b7c9085 100644 (file)
@@ -464,7 +464,7 @@ Non-nil arguments are in recursive calls."
   `(keymap ,title
            ,@(mapcar
               (lambda (item)
-                `(,(car item) ,(car item)
+                `(,(intern (car item)) ,(car item)
                   ,@(cond
                      ((imenu--subalist-p item)
                       (imenu--create-keymap (car item) (cdr item) cmd))