Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2016-06-01 00:44:55 +02:00
commit 319c05f1dc
1 changed files with 2 additions and 1 deletions

View File

@ -25032,7 +25032,8 @@ when non-nil, is a regexp matching keywords names."
"Produce the index for Imenu."
(dolist (x org-imenu-markers) (move-marker x nil))
(setq org-imenu-markers nil)
(let* ((n org-imenu-depth)
(let* ((case-fold-search nil)
(n org-imenu-depth)
(re (concat "^" (org-get-limited-outline-regexp)))
(subs (make-vector (1+ n) nil))
(last-level 0)