From ca5d8c1d68a7c6d658a43b3fd1ef6d3372374267 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 14 May 2020 11:30:01 +0200 Subject: eshell/ff: Use forward-line. --- init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.org b/init.org index ce5bba5..ca284d1 100644 --- a/init.org +++ b/init.org @@ -635,7 +635,7 @@ I used to like Eshell a lot. Eshell is a shell implemented in Elisp. It is wel (let* ((line (string-to-number (match-string 1 (pop args)))) (file (pop args))) (find-file file) - (goto-line line)) + (forward-line (1- line))) (find-file (pop args))))) ;; convenience functions to input the remote root/home dir when in a -- cgit v1.2.3