Skip to content

Commit c1b5abc

Browse files
committed
Remove recentering interactive call.
1 parent bc2da7d commit c1b5abc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

goto-line-preview.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ LINE-NUM : Target line number to navigate to."
8383
(let ((goto-line-preview-prev-buffer (buffer-name))
8484
(goto-line-preview-prev-line-num (line-number-at-pos)))
8585
(setq jumped (read-number "Goto line: ")))
86-
(if jumped
87-
(call-interactively #'recenter)
86+
(unless jumped
8887
(set-window-point window window-point)))))
8988

9089
;;;###autoload

0 commit comments

Comments
 (0)