summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-09-24 00:01:39 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-09-24 00:01:39 +0200
commite553ef224828e4d2682a8481d2eb7a8da77929b9 (patch)
tree8477a4147833625db718998b3682783e2733027e
parent85035e4ce2cb1915ef5dd833923e367d8854a870 (diff)
downloadorg-mode-e553ef224828e4d2682a8481d2eb7a8da77929b9.tar.gz
Make `org-show-children' interactive
* lisp/org.el (org-show-children): Make it a command. Reported-by: Tokuya Kameshima <kametoku@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/101347>
-rwxr-xr-xlisp/org.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 270aa4f..ff88310 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -24917,8 +24917,10 @@ modified."
(defun org-show-children (&optional level)
"Show all direct subheadings of this heading.
-Prefix arg LEVEL is how many levels below the current level should be shown.
-Default is enough to cause the following heading to appear."
+Prefix arg LEVEL is how many levels below the current level
+should be shown. Default is enough to cause the following
+heading to appear."
+ (interactive "p")
(save-excursion
(org-back-to-heading t)
(let* ((current-level (funcall outline-level))