1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00

Fix small mistake

* lisp/org.el (org-imenu-get-tree): note to self: headlines start at bol.
This commit is contained in:
Nicolas Goaziou 2011-07-21 20:40:58 +02:00
parent 4f094db113
commit 6b38912771

View File

@ -20247,7 +20247,7 @@ Show the heading too, if it is currently invisible."
(mapc (lambda (x) (move-marker x nil)) org-imenu-markers)
(setq org-imenu-markers nil)
(let* ((n org-imenu-depth)
(re (org-get-limited-outline-regexp))
(re (concat "^" (org-get-limited-outline-regexp)))
(subs (make-vector (1+ n) nil))
(last-level 0)
m level head)