summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-02-26 17:16:41 +0100
committerBastien Guerry <bzg@altern.org>2011-02-26 17:16:41 +0100
commit1d404f8f96741266e06f9a6b4f5758728e27fb15 (patch)
tree25849b16b4ce787ac6b2332d945aa1bbfbaf7c14
parentaa946f224da7522728cc1703bca75e4af7636fc9 (diff)
downloadorg-mode-1d404f8f96741266e06f9a6b4f5758728e27fb15.tar.gz
* org-table.el (org-table-copy-down): fix docstring.
-rw-r--r--lisp/org-table.el19
1 files changed, 9 insertions, 10 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index bf7a876..5d7c667 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -980,16 +980,15 @@ Before doing so, re-align the table if necessary."
(defun org-table-copy-down (n)
"Copy a field down in the current column.
-If the field at the cursor is empty, copy into it the content of the nearest
-non-empty field above. With argument N, use the Nth non-empty field.
-If the current field is not empty, it is copied down to the next row, and
-the cursor is moved with it. Therefore, repeating this command causes the
-column to be filled row-by-row.
-If the variable `org-table-copy-increment' is non-nil and the field is an
-integer or a timestamp, it will be incremented while copying. In the case of
-a timestamp, if the cursor is on the year, change the year. If it is on the
-month or the day, change that. Point will stay on the current date field
-in order to easily repeat the interval."
+If the field at the cursor is empty, copy into it the content of
+the nearest non-empty field above. With argument N, use the Nth
+non-empty field. If the current field is not empty, it is copied
+down to the next row, and the cursor is moved with it.
+Therefore, repeating this command causes the column to be filled
+row-by-row.
+If the variable `org-table-copy-increment' is non-nil and the
+field is an integer or a timestamp, it will be incremented while
+copying. In the case of a timestamp, increment by one day."
(interactive "p")
(let* ((colpos (org-table-current-column))
(col (current-column))