emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] org-show-subtree
@ 2012-03-22 14:13 naga uni
  2012-03-23 14:04 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: naga uni @ 2012-03-22 14:13 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 285 bytes --]

Dear Depeloppers,

I'm using org-mode with outline-minor-mode.
I found a trouble with C-c C-o C-s, show-subtree, says

Wrong type argument: commandp, org-show-subtree

in the mini-buffer.

I think the attached patch fix this trouble.

Best wishes,

----
K.Nagashima
uni.naga@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 415 bytes --]

[-- Attachment #2: show-subtree-20120322.patch --]
[-- Type: text/x-diff, Size: 353 bytes --]

diff --git a/lisp/org.el b/lisp/org.el
index 9f70ebb..876dada 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -21179,6 +21179,7 @@ Stop at the first and last subheadings of a superior heading."
 
 (defun org-show-subtree ()
   "Show everything after this heading at deeper levels."
+  (interactive)
   (outline-flag-region
    (point)
    (save-excursion

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] org-show-subtree
  2012-03-22 14:13 [PATCH] org-show-subtree naga uni
@ 2012-03-23 14:04 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-03-23 14:04 UTC (permalink / raw)
  To: naga uni; +Cc: emacs-orgmode

naga uni <uni.naga@gmail.com> writes:

> I'm using org-mode with outline-minor-mode.
> I found a trouble with C-c C-o C-s, show-subtree, says

C-c C-o C-s is not an Org binding, isn't it?

Anyway, I agree org-show-subtree could be turned into a
command, so I accepted your patch.

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-23 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 14:13 [PATCH] org-show-subtree naga uni
2012-03-23 14:04 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).