summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2018-04-03 17:03:34 +0200
committerMarco Wahl <marcowahlsoft@gmail.com>2018-04-03 17:03:34 +0200
commit873caa6ad7442d53923032eb05ffbccdc879063e (patch)
tree3b4e249516ae89f9e8f780a6ae8ba64f3b94a3c9
parent003af466c5230d11ac1492ad725d98a7ed072942 (diff)
downloadorg-mode-873caa6ad7442d53923032eb05ffbccdc879063e.tar.gz
org.el: Fix two docstrings
* lisp/org.el (org-beginning-of-line, org-end-of-line): Fixed documentation of org-beginning-of-line; synchronized with documentation of org-end-of-line.
-rw-r--r--lisp/org.el20
1 files changed, 14 insertions, 6 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 5e5087a..dc75165 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -22645,9 +22645,13 @@ package ox-bibtex by Taru Karttunen."
(defun org-beginning-of-line (&optional n)
"Go to the beginning of the current visible line.
-If this is a headline, and `org-special-ctrl-a/e' is set, ignore
-tags on the first attempt, and only move to after the tags when
-the cursor is already beyond the end of the headline.
+If this is a headline, and `org-special-ctrl-a/e' is not nil or
+symbol `reversed', on the first attempt move to where the
+headline text starts, and only move to beginning of line when the
+cursor is already before the start of the text of the headline.
+
+If `org-special-ctrl-a/e' is symbol `reversed' then go to the
+start of the text on the second attempt.
With argument N not nil or 1, move forward N - 1 lines first."
(interactive "^p")
@@ -22704,9 +22708,13 @@ With argument N not nil or 1, move forward N - 1 lines first."
(defun org-end-of-line (&optional n)
"Go to the end of the line, but before ellipsis, if any.
-If this is a headline, and `org-special-ctrl-a/e' is set, ignore
-tags on the first attempt, and only move to after the tags when
-the cursor is already beyond the end of the headline.
+If this is a headline, and `org-special-ctrl-a/e' is not nil or
+symbol `reversed', ignore tags on the first attempt, and only
+move to after the tags when the cursor is already beyond the end
+of the headline.
+
+If `org-special-ctrl-a/e' is symbol `reversed' then ignore tags
+on the second attempt.
With argument N not nil or 1, move forward N - 1 lines first."
(interactive "^p")