mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-10 15:56:18 +00:00
* lisp/imenu.el (imenu--split-submenus): Use imenu--subalist-p.
Fixes: debbugs:12717
This commit is contained in:
parent
589fc4791f
commit
875ce3a7c5
@ -1,3 +1,7 @@
|
|||||||
|
2012-11-15 Drew Adams <drew.adams@oracle.com>
|
||||||
|
|
||||||
|
* imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
|
||||||
|
|
||||||
2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
|
2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
* emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
|
* emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
|
||||||
|
@ -546,9 +546,7 @@ The returned alist DOES NOT share structure with MENULIST."
|
|||||||
Return a split and sorted copy of ALIST. The returned alist DOES
|
Return a split and sorted copy of ALIST. The returned alist DOES
|
||||||
NOT share structure with ALIST."
|
NOT share structure with ALIST."
|
||||||
(mapcar (lambda (elt)
|
(mapcar (lambda (elt)
|
||||||
(if (and (consp elt)
|
(if (imenu--subalist-p elt)
|
||||||
(stringp (car elt))
|
|
||||||
(listp (cdr elt)))
|
|
||||||
(imenu--split-menu (cdr elt) (car elt))
|
(imenu--split-menu (cdr elt) (car elt))
|
||||||
elt))
|
elt))
|
||||||
alist))
|
alist))
|
||||||
|
Loading…
Reference in New Issue
Block a user