diff options
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el index 311d5e3123c..40214c073c0 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -817,7 +817,8 @@ Display is centered at LINE. Also set the mark at the position where point was." (interactive "p") (push-mark) - (goto-line line) + (goto-char (point-min)) + (forward-line (1- line)) (view-recenter)) (defun View-back-to-mark (&optional ignore) |