summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-10-16 07:29:43 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-10-16 07:30:00 +0200
commitdf5894cdcb10819560f003c5b94b8f5f2b7d33cf (patch)
tree4691fed8168e02b9b685c740ae548e5deae79ecc
parent8820a2527611d46b9f09bd741792628cc57416b4 (diff)
downloadorg-mode-df5894cdcb10819560f003c5b94b8f5f2b7d33cf.tar.gz
Fix docstring of `org-insert-heading'
* lisp/org.el (org-insert-heading): Fix docstring.
-rw-r--r--lisp/org.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index e4f08e2..258d129 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6681,8 +6681,10 @@ frame is not changed."
"Insert a new heading or item with same depth at point.
If point is in a plain list and FORCE-HEADING is nil, create a new list item.
If point is at the beginning of a headline, insert a sibling before the
-current headline. If point is not at the beginning, do not split the line,
-but create the new headline after the current line.
+current headline. If point is not at the beginning, split the line,
+create the new headline with the text in the current line after point
+\(but see also the variable `org-M-RET-may-split-line').
+
When INVISIBLE-OK is set, stop at invisible headlines when going back.
This is important for non-interactive uses of the command."
(interactive "P")