[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Infinite Loop with org-mode and speedbar with cc-mode
From: |
Rolf Unger |
Subject: |
Re: [Orgmode] Infinite Loop with org-mode and speedbar with cc-mode |
Date: |
Tue, 18 Nov 2008 15:46:52 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Windows/20080914) |
Okay Carsten,
thank you, this modification makes it work again.
I have posted this problem before to the gnu.emacs.help
mailing list, because initially I had no clue that it could
be related with org-mode.
I will add a comment there refering to the patch.
Thanks again especially for the impressive response time,
Rolf.
Carsten Dominik wrote:
> Hi Rolf,
>
> does this patch help?
>
>
> Best wishes.
>
> - Carsten Dominik
>
> ------------------------------------------------------------------------------------
>
> diff -u org.el.orig org.el
> --- org.el.orig 2008-11-18 14:54:12.000000000 +0100
> +++ org.el 2008-11-18 14:54:54.000000000 +0100
> @@ -14510,7 +14510,7 @@
> (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
> -----------------------------------------------------------------------------------
>