emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: naga uni <uni.naga@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-show-subtree
Date: Thu, 22 Mar 2012 23:13:32 +0900	[thread overview]
Message-ID: <CAMRu8AaxQNaYnQgL9N2iqjqRxRLg_=454cAOkCDXkdWxwmUi-w@mail.gmail.com> (raw)


[-- 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

             reply	other threads:[~2012-03-22 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 14:13 naga uni [this message]
2012-03-23 14:04 ` [PATCH] org-show-subtree Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMRu8AaxQNaYnQgL9N2iqjqRxRLg_=454cAOkCDXkdWxwmUi-w@mail.gmail.com' \
    --to=uni.naga@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).