branch: elpa/bash-completion commit 510616a654f148e2f81766f47fbdb9e021f81144 Author: Stephane Zermatten <szerm...@gmx.net> Commit: Stephane Zermatten <szerm...@gmx.net>
Remove leftover comment about detecting the command having been echoed. Ever since 639aba28f, there's no attempt at supporting echoed commands (set -x) anymore. --- bash-completion.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bash-completion.el b/bash-completion.el index 52fb3f1bbe..fc5c7deab0 100644 --- a/bash-completion.el +++ b/bash-completion.el @@ -1563,12 +1563,6 @@ Return the status code of the command, as a number." bash-completion-short-command-timeout)) (delete-region (point-min) (1+ (match-end 0)))) (bash-completion--wait-for-regexp "timeout" process "==emacs==ret=-?[[:digit:]]+==." timeout) - ;; (when complete-command - ;; ;; Detect the command having been echoed and remove it - ;; (save-excursion - ;; (goto-char (point-min)) - ;; (when (looking-at (regexp-quote complete-command)) - ;; (delete-region (match-beginning 0) (line-beginning-position 2))))) (let ((status (string-to-number (buffer-substring-no-properties (+ (point) 13)