]> git.eshelyaron.com Git - emacs.git/commit
Let imenu to work on the menu bar when its list is a single non-nested member.
authorAlan Mackenzie <acm@muc.de>
Mon, 30 Mar 2020 19:25:40 +0000 (19:25 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 30 Mar 2020 19:25:40 +0000 (19:25 +0000)
commit650a664ccd1e801f869f64d441b65db7dcb395f0
tree63e6e7f4654af144312c0d86e1c998ad9c3305f9
parentc6e0981b96eaa12c28b70c949ccd6e426c13df4d
Let imenu to work on the menu bar when its list is a single non-nested member.

* lisp/imenu.el (imenu-update-menubar): No longer accept a list of length 1 as
being sufficient evidence for a nested list structure.  Instead, additionally
check whether or not certain elements are atoms.
lisp/imenu.el