diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/org/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org.el b/lisp/org/org.el index 70f22e27813..4521c7c334f 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -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 |