Commit 1ba1f458 authored by Carsten Dominik's avatar Carsten Dominik

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

	org-mode buffer.
parent 0dade8aa
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment