branch: elpa/bash-completion
commit fcef857dc1e54890244cc8c5326436394e12d86d
Author: Stephane Zermatten <szerm...@gmx.net>
Commit: Stephane Zermatten <szerm...@gmx.net>

    Stop attempting to override readline_quote.
    
    The issue with readline_quote affected Bash 3 completion. Nowadays,
    redefining quote_readline is more likely to cause issues than help.
---
 bash-completion.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/bash-completion.el b/bash-completion.el
index fc5c7deab0..7e080b22fb 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -414,13 +414,6 @@ returned."
     "}")
    process)
 
-  ;; some bash completion functions use quote_readline
-  ;; to double-quote strings - which compgen understands
-  ;; but only in some environment. disable this dreadful
-  ;; business to get a saner way of handling spaces.
-  ;; Noticed in bash_completion v1.872.
-  (bash-completion-send "function quote_readline { echo \"$1\"; }" process)
-
   (bash-completion-send "echo -n ${COMP_WORDBREAKS}" process)
   (process-put process 'wordbreaks
                (with-current-buffer (bash-completion--get-buffer process)

Reply via email to