[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion 510616a654 2/4: Remove leftover comment ab
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion 510616a654 2/4: Remove leftover comment about detecting the command having been echoed. |
Date: |
Wed, 8 Feb 2023 11:58:28 -0500 (EST) |
branch: elpa/bash-completion
commit 510616a654f148e2f81766f47fbdb9e021f81144
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@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)