summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/icomplete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index ac14a850d4d..c12f3901f09 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -300,7 +300,7 @@ if that doesn't produce a completion match."
(interactive)
(if (and (eq (char-before) ?/)
(eq (icomplete--category) 'file))
- (backward-kill-sexp 1)
+ (zap-up-to-char -1 ?/)
(call-interactively 'backward-delete-char)))
(defvar icomplete-fido-mode-map