diff options
author | João Távora <joaotavora@gmail.com> | 2020-04-16 09:33:37 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2020-04-16 09:33:37 +0100 |
commit | 145a151d62681bb8dda2515652b936c7b3a33877 (patch) | |
tree | 48769ffadd5d8d6905e67b676de5cd1301b0d668 | |
parent | 660b9b8cfbfff8f94d1e9e0a701d5f94d05d4221 (diff) | |
download | emacs-145a151d62681bb8dda2515652b936c7b3a33877.tar.gz |
Correct Fido-mode's backspacing of directories with spaces
Fixes: bug#40625
* lisp/icomplete.el (icomplete-fido-backward-updir): Use
zap-up-to-char.
-rw-r--r-- | lisp/icomplete.el | 2 |
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 |