org-table.el (org-table-copy-down): Don't move cursor when getting the field
* org-table.el (org-table-copy-down): Don't move cursor when getting the field. This prevents the point from moving when inadvertently calling S-RET outside of a table.
This commit is contained in:
parent
69ebb265be
commit
9ac7fabb46
|
@ -1118,7 +1118,7 @@ copying. In the case of a timestamp, increment by one day."
|
|||
(interactive "p")
|
||||
(let* ((colpos (org-table-current-column))
|
||||
(col (current-column))
|
||||
(field (org-table-get-field))
|
||||
(field (save-excursion (org-table-get-field)))
|
||||
(non-empty (string-match "[^ \t]" field))
|
||||
(beg (org-table-begin))
|
||||
(orig-n n)
|
||||
|
|
Loading…
Reference in New Issue