1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* org.el ("speedbar"): Only show context if the file really is an

org-mode buffer.
This commit is contained in:
Carsten Dominik 2008-11-18 15:07:35 +00:00
parent 0dade8aac9
commit 1ba1f458d8

View file

@ -14407,7 +14407,7 @@ To get rid of the restriction, use \\[org-agenda-remove-restriction-lock]."
(define-key speedbar-file-key-map ">" 'org-agenda-remove-restriction-lock)
(define-key speedbar-file-key-map "\C-c\C-x>" 'org-agenda-remove-restriction-lock)
(add-hook 'speedbar-visiting-tag-hook
(lambda () (org-show-context 'org-goto)))))
(lambda () (and (org-mode-p) (org-show-context 'org-goto))))))
;;; Fixes and Hacks for problems with other packages