From f6bd2a9cb42669829a22d1a7703701872a984fc5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 29 Mar 2015 14:06:43 +0200 Subject: [PATCH] org-table: Fix docstrings * lisp/org-table.el (org-table-beginning-of-field): (org-table-end-of-field): Swap docstrings. --- lisp/org-table.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index 8e02cb47e..bda3db883 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)