all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug report: org-imenu-get-tree
@ 2012-02-27 23:07 Ilya Shlyakhter
  0 siblings, 0 replies; only message in thread
From: Ilya Shlyakhter @ 2012-02-27 23:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 735 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-27 23:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 23:07 bug report: org-imenu-get-tree Ilya Shlyakhter

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.