summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-elecslash.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell/em-elecslash.el')
-rw-r--r--lisp/eshell/em-elecslash.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-elecslash.el b/lisp/eshell/em-elecslash.el
index 80bc0f031ef..2b003f58dc7 100644
--- a/lisp/eshell/em-elecslash.el
+++ b/lisp/eshell/em-elecslash.el
@@ -72,7 +72,7 @@ insertion."
(delete-char -1)
(let ((tilde-before (eq ?~ (char-before)))
(command (save-excursion
- (eshell-bol)
+ (beginning-of-line)
(skip-syntax-forward " ")
(thing-at-point 'sexp)))
(prefix (file-remote-p default-directory)))