diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-09-24 00:01:39 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-09-24 00:01:39 +0200 |
commit | e553ef224828e4d2682a8481d2eb7a8da77929b9 (patch) | |
tree | 8477a4147833625db718998b3682783e2733027e | |
parent | 85035e4ce2cb1915ef5dd833923e367d8854a870 (diff) | |
download | org-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-x | lisp/org.el | 6 |
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)) |