diff options
| author | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
| commit | cf2d22b874ca2df0072e32ee641e8efffe4abd6d (patch) | |
| tree | 1795142ec7861fc85c61adc90f03265b69041556 /lisp/imenu.el | |
| parent | 3c4ca7155293ffc2d04708007131bcbc882d8913 (diff) | |
| parent | 6ad30855c02908fdd99d9b11943719e185e65ee3 (diff) | |
| download | emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.tar.gz emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.zip | |
Merge from trunk.
Diffstat (limited to 'lisp/imenu.el')
| -rw-r--r-- | lisp/imenu.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 4686d1cf538..1d3da2db15b 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -546,9 +546,7 @@ The returned alist DOES NOT share structure with MENULIST." | |||
| 546 | Return a split and sorted copy of ALIST. The returned alist DOES | 546 | Return a split and sorted copy of ALIST. The returned alist DOES |
| 547 | NOT share structure with ALIST." | 547 | NOT share structure with ALIST." |
| 548 | (mapcar (lambda (elt) | 548 | (mapcar (lambda (elt) |
| 549 | (if (and (consp elt) | 549 | (if (imenu--subalist-p elt) |
| 550 | (stringp (car elt)) | ||
| 551 | (listp (cdr elt))) | ||
| 552 | (imenu--split-menu (cdr elt) (car elt)) | 550 | (imenu--split-menu (cdr elt) (car elt)) |
| 553 | elt)) | 551 | elt)) |
| 554 | alist)) | 552 | alist)) |