diff options
| author | Carsten Dominik | 2008-11-18 15:07:35 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2008-11-18 15:07:35 +0000 |
| commit | 1ba1f458d8fe1ef67b32dc3ce414d9d36fa0dff1 (patch) | |
| tree | 969e2d5d5b8ef9fa6a26417845d0775278ffc3f4 | |
| parent | 0dade8aac93ed1f1b93855b376bf2d819ba27879 (diff) | |
| download | emacs-1ba1f458d8fe1ef67b32dc3ce414d9d36fa0dff1.tar.gz emacs-1ba1f458d8fe1ef67b32dc3ce414d9d36fa0dff1.zip | |
* org.el ("speedbar"): Only show context if the file really is an
org-mode buffer.
| -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]." | |||
| 14407 | (define-key speedbar-file-key-map ">" 'org-agenda-remove-restriction-lock) | 14407 | (define-key speedbar-file-key-map ">" 'org-agenda-remove-restriction-lock) |
| 14408 | (define-key speedbar-file-key-map "\C-c\C-x>" 'org-agenda-remove-restriction-lock) | 14408 | (define-key speedbar-file-key-map "\C-c\C-x>" 'org-agenda-remove-restriction-lock) |
| 14409 | (add-hook 'speedbar-visiting-tag-hook | 14409 | (add-hook 'speedbar-visiting-tag-hook |
| 14410 | (lambda () (org-show-context 'org-goto))))) | 14410 | (lambda () (and (org-mode-p) (org-show-context 'org-goto)))))) |
| 14411 | 14411 | ||
| 14412 | 14412 | ||
| 14413 | ;;; Fixes and Hacks for problems with other packages | 14413 | ;;; Fixes and Hacks for problems with other packages |