emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug report: org-imenu-get-tree


From: Ilya Shlyakhter
Subject: [O] bug report: org-imenu-get-tree
Date: Mon, 27 Feb 2012 18:07:15 -0500

In org-imenu-get-tree,
          (when (<= level n)
            (looking-at org-complex-heading-regexp)
            (setq head (org-link-display-format
                         (org-match-string-no-properties 4))
                   m (org-imenu-new-marker))


should probably be
           (when (and (<= level n)
                      (looking-at org-complex-heading-regexp))
            (setq head (org-link-display-format
                         (org-match-string-no-properties 4))
                   m (org-imenu-new-marker))
            ...

i had an headling which (accidentally) consisted of just a todo keyword, making (org-match-string-no-properties 4) nil.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]