summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-03-29 14:06:43 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-03-29 14:14:32 +0200
commitf6bd2a9cb42669829a22d1a7703701872a984fc5 (patch)
treed43298a933dc21edf6da7e92056c59bf87f04bc2
parent98ec17e204689f415200a2930fc148bf6a4dfe49 (diff)
downloadorg-mode-f6bd2a9cb42669829a22d1a7703701872a984fc5.tar.gz
org-table: Fix docstrings
* lisp/org-table.el (org-table-beginning-of-field): (org-table-end-of-field): Swap docstrings.
-rw-r--r--lisp/org-table.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index 8e02cb4..bda3db8 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -1037,9 +1037,10 @@ Before doing so, re-align the table if necessary."
(goto-char (match-end 0))))
(defun org-table-beginning-of-field (&optional n)
- "Move to the end of the current table field.
-If already at or after the end, move to the end of the next table field.
-With numeric argument N, move N-1 fields forward first."
+ "Move to the beginning of the current table field.
+If already at or before the beginning, move to the beginning of the
+previous field.
+With numeric argument N, move N-1 fields backward first."
(interactive "p")
(let ((pos (point)))
(while (> n 1)
@@ -1052,10 +1053,9 @@ With numeric argument N, move N-1 fields forward first."
(if (>= (point) pos) (org-table-beginning-of-field 2))))
(defun org-table-end-of-field (&optional n)
- "Move to the beginning of the current table field.
-If already at or before the beginning, move to the beginning of the
-previous field.
-With numeric argument N, move N-1 fields backward first."
+ "Move to the end of the current table field.
+If already at or after the end, move to the end of the next table field.
+With numeric argument N, move N-1 fields forward first."
(interactive "p")
(let ((pos (point)))
(while (> n 1)