emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] reveal only current subtree


From: sergio
Subject: Re: [O] reveal only current subtree
Date: Sun, 18 Dec 2011 06:43:17 +0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111120 Icedove/8.0

On 12/18/2011 05:12 AM, Takaaki ISHIKAWA wrote:

> Type "M-: (org-show-siblings)" and "M-: (org-show-entry)".

Am I right, that for rebind strange (org-reveal) to (org-show-siblings)
I should do:

(add-hook 'org-mode-hook (lambda ()
        (local-set-key "\C-c\C-r" (lambda ()
                                    (interactive)
                                    (org-show-siblings)))))

It works, but may be there are errors which I don't see.

-- 
sergio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]