summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-14 11:30:01 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-14 11:30:01 +0200
commitca5d8c1d68a7c6d658a43b3fd1ef6d3372374267 (patch)
tree3deb056e3d422fe2b05dbbd1f5bdce0927caa77d
parentf29163fbb92af8d6a5a00f7ad9d550aafa3d5bfa (diff)
eshell/ff: Use forward-line.
-rw-r--r--init.org2
1 files changed, 1 insertions, 1 deletions
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