Dear Org-Mode Developers and Users,
In the Imenu-integration code, there is a hook (imenu-after-jump-hook)
that doesn't check whether we are in org-mode or not. Speedbar seems
to use a similar hook, so it may need a fix too.
===== PATCH BLOCK BEGIN =====
--- org.el.orig 2008-07-16 12:14:46.000000000 +0200
+++ org.el 2008-07-16 12:15:05.000000000 +0200
@@ -14212,7 +14212,9 @@
(eval-after-load "imenu"
'(progn
(add-hook 'imenu-after-jump-hook
- (lambda () (org-show-context 'org-goto)))))
+ (lambda ()
+ (if (eq major-mode 'org-mode)
+ (org-show-context 'org-goto))))))
;; Speedbar support
===== PATCH BLOCK END =====
Regards,
pfm
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode