emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 145a151: Correct Fido-mode's backspacing of directories with sp


From: João Távora
Subject: emacs-27 145a151: Correct Fido-mode's backspacing of directories with spaces
Date: Thu, 16 Apr 2020 04:34:12 -0400 (EDT)

branch: emacs-27
commit 145a151d62681bb8dda2515652b936c7b3a33877
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Correct Fido-mode's backspacing of directories with spaces
    
    Fixes: bug#40625
    
    * lisp/icomplete.el (icomplete-fido-backward-updir): Use
    zap-up-to-char.
---
 lisp/icomplete.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index ac14a85..c12f390 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]