[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8b1af4a: Fix the previous imenu commit
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8b1af4a: Fix the previous imenu commit |
Date: |
Fri, 20 Sep 2019 09:01:59 -0400 (EDT) |
branch: master
commit 8b1af4a0bf82a92374d4e8205057880f7d28ede9
Author: Matthew Newton <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix the previous imenu commit
* lisp/imenu.el (imenu--make-index-alist): Always return the alist
(bug#30449).
Copyright-paperwork-exempt: yes
---
lisp/imenu.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 9df597b..f8bfc40 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -510,7 +510,8 @@ See `imenu--index-alist' for the format of the index alist."
"No items suitable for an index found in this buffer"))
(or imenu--index-alist
(setq imenu--index-alist (list nil)))
- (unless imenu-auto-rescan
+ (if imenu-auto-rescan
+ imenu--index-alist
;; Add a rescan option to the index.
(cons imenu--rescan-item imenu--index-alist)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8b1af4a: Fix the previous imenu commit,
Lars Ingebrigtsen <=