[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion 3ccc76e2cd 4/6: Mark bash-completion-refre
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion 3ccc76e2cd 4/6: Mark bash-completion-refresh as obsolete. |
Date: |
Thu, 26 Jan 2023 15:58:45 -0500 (EST) |
branch: elpa/bash-completion
commit 3ccc76e2cd6dde2bc5acb3d8e07e2cc451857ba0
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <stephane@fuzzy.zia>
Mark bash-completion-refresh as obsolete.
bash-completion-refresh doesn't do anything anymore. It used to refresh
the copy of the completion table kept in memory, but bash-completion.el
now uses the completion table of the Bash process directly.
---
bash-completion.el | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/bash-completion.el b/bash-completion.el
index 295f74046d..69a4c76919 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1329,18 +1329,15 @@ completion candidates."
;;;###autoload
(defun bash-completion-refresh ()
- "Force a refresh the completion table.
+ "Does nothing.
-This can be called after changing the completion table on BASH,
-or after starting a new BASH job.
+This command is obsolete and doesn't do anything useful anymore.
+It used to refresh the copy of the completion table kept in
+memory, but bash-completion.el now uses the completion table of
+the Bash process directly."
+ (interactive))
-This is only useful when `bash-completion-use-separate-processes'
-is t."
- (interactive)
- (let* ((process (get-buffer-process (current-buffer))))
- (unless process
- (error "No process is available in this buffer"))
- (bash-completion--get-process)))
+(make-obsolete 'bash-completion-refresh "no longer useful.")
;;;###autoload
(defun bash-completion-reset ()
- [nongnu] elpa/bash-completion updated (a021468eec -> def2895a0b), ELPA Syncer, 2023/01/26
- [nongnu] elpa/bash-completion ebaf38ac39 2/6: Remove the need for a special setup in single-process mode., ELPA Syncer, 2023/01/26
- [nongnu] elpa/bash-completion 718d7689af 3/6: Run bash-completion--setup-bash-common when needed by bash., ELPA Syncer, 2023/01/26
- [nongnu] elpa/bash-completion 8ddd315e17 1/6: Stop storing the result of complete -p., ELPA Syncer, 2023/01/26
- [nongnu] elpa/bash-completion 3ccc76e2cd 4/6: Mark bash-completion-refresh as obsolete.,
ELPA Syncer <=
- [nongnu] elpa/bash-completion 3f2e72b0e7 5/6: Provide argument WHEN to make-obsolete for emacs 28.2., ELPA Syncer, 2023/01/26
- [nongnu] elpa/bash-completion def2895a0b 6/6: Tell cask to look for .el file in the current directory., ELPA Syncer, 2023/01/26