Re: [Orgmode] Re: ECB and org-mode

2009-10-14 Thread Eric S Fraga
At Wed, 14 Oct 2009 19:57:42 +0200, Tassilo Horn wrote: > Eric S Fraga writes: > > (if (string= major-mode "org-mode") > > Here, you want (eq major-mode 'org-mode). Your version also works, but Makes sense! D'uh. Of course there is a way of comparing modes. This is *emacs*, after all! [...

[Orgmode] Re: ECB and org-mode

2009-10-14 Thread Tassilo Horn
Eric S Fraga writes: Hi Eric, > (defadvice ecb-method-clicked (after esf/org-show-context) > "Make sure hierarchy is visible when jumping into location from ECB tree > buffer" > (if (string= major-mode "org-mode") Here, you want (eq major-mode 'org-mode). Your version also works, but only