diff options
Diffstat (limited to 'lisp/textmodes/two-column.el')
-rw-r--r-- | lisp/textmodes/two-column.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index d8d298909c1..c393e1d9bcd 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el @@ -537,7 +537,8 @@ off trailing spaces with \\[delete-trailing-whitespace]." (if (get-buffer-window (2C-other t)) (select-window (get-buffer-window (2C-other))) (switch-to-buffer (2C-other))) - (newline (goto-line line)) + (goto-char (point-min)) + (newline (forward-line (1- line))) (if col (move-to-column col) (end-of-line 1)))) |