diff options
| author | João Távora | 2020-04-16 09:33:37 +0100 |
|---|---|---|
| committer | João Távora | 2020-04-16 09:33:37 +0100 |
| commit | 145a151d62681bb8dda2515652b936c7b3a33877 (patch) | |
| tree | 48769ffadd5d8d6905e67b676de5cd1301b0d668 | |
| parent | 660b9b8cfbfff8f94d1e9e0a701d5f94d05d4221 (diff) | |
| download | emacs-145a151d62681bb8dda2515652b936c7b3a33877.tar.gz emacs-145a151d62681bb8dda2515652b936c7b3a33877.zip | |
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." | |||
| 300 | (interactive) | 300 | (interactive) |
| 301 | (if (and (eq (char-before) ?/) | 301 | (if (and (eq (char-before) ?/) |
| 302 | (eq (icomplete--category) 'file)) | 302 | (eq (icomplete--category) 'file)) |
| 303 | (backward-kill-sexp 1) | 303 | (zap-up-to-char -1 ?/) |
| 304 | (call-interactively 'backward-delete-char))) | 304 | (call-interactively 'backward-delete-char))) |
| 305 | 305 | ||
| 306 | (defvar icomplete-fido-mode-map | 306 | (defvar icomplete-fido-mode-map |