org-table: Fix docstrings
* lisp/org-table.el (org-table-beginning-of-field): (org-table-end-of-field): Swap docstrings.
This commit is contained in:
parent
98ec17e204
commit
f6bd2a9cb4
|
@ -1037,9 +1037,10 @@ Before doing so, re-align the table if necessary."
|
||||||
(goto-char (match-end 0))))
|
(goto-char (match-end 0))))
|
||||||
|
|
||||||
(defun org-table-beginning-of-field (&optional n)
|
(defun org-table-beginning-of-field (&optional n)
|
||||||
"Move to the end of the current table field.
|
"Move to the beginning of the current table field.
|
||||||
If already at or after the end, move to the end of the next table field.
|
If already at or before the beginning, move to the beginning of the
|
||||||
With numeric argument N, move N-1 fields forward first."
|
previous field.
|
||||||
|
With numeric argument N, move N-1 fields backward first."
|
||||||
(interactive "p")
|
(interactive "p")
|
||||||
(let ((pos (point)))
|
(let ((pos (point)))
|
||||||
(while (> n 1)
|
(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))))
|
(if (>= (point) pos) (org-table-beginning-of-field 2))))
|
||||||
|
|
||||||
(defun org-table-end-of-field (&optional n)
|
(defun org-table-end-of-field (&optional n)
|
||||||
"Move to the beginning of the current table field.
|
"Move to the end of the current table field.
|
||||||
If already at or before the beginning, move to the beginning of the
|
If already at or after the end, move to the end of the next table field.
|
||||||
previous field.
|
With numeric argument N, move N-1 fields forward first."
|
||||||
With numeric argument N, move N-1 fields backward first."
|
|
||||||
(interactive "p")
|
(interactive "p")
|
||||||
(let ((pos (point)))
|
(let ((pos (point)))
|
||||||
(while (> n 1)
|
(while (> n 1)
|
||||||
|
|
Loading…
Reference in New Issue