emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/bash-completion 5eb85cf1fc 166/313: Remove obsolete functi


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 5eb85cf1fc 166/313: Remove obsolete functions bash-completion-dynamic-complete-0 and
Date: Sat, 3 Dec 2022 10:59:27 -0500 (EST)

branch: elpa/bash-completion
commit 5eb85cf1fcbab3f1de0f58b3a856e7997eba68ed
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Remove obsolete functions bash-completion-dynamic-complete-0 and
    bash-completion--try-wordbreak-complete.
---
 bash-completion.el | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/bash-completion.el b/bash-completion.el
index 53b42ecfa5..e9fc9071fe 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1236,36 +1236,5 @@ Return the status code of the command, as a number."
        ;;        (point-min) (point-max)))
        status-code))))
 
-;; Backward compatibility
-
-(defun bash-completion-dynamic-complete-0 ()
-  "Obsolete function, kept for backward compatibility.
-
-Call `bash-completion-dynamic' or `bash-completion-nocomint'."
-  (let ((result (bash-completion-dynamic-complete-nocomint
-                 (comint-line-beginning-position)
-                 (point))))
-    (cons (buffer-substring-no-properties (nth 0 result) (nth 1 result))
-          result)))
-(make-obsolete
- 'bash-completion-dynamic-complete-0
- "call bash-completion-dynamic or bash-completion-dynamic-nocomint"
- "2.1")
-
-(defun bash-completion-dynamic-try-wordbreak-complete (stub stub-start pos 
open-quote)
-  "Obsolete function, kept for backward compatibility.
-
-`bash-completion-dynamic-try-wordbreak-complete' became
-`bash-completion--try-wordbreak-complete' and its return value
-changed. This shouldn't be a problem, since the function isn't meant to
-be called from outside bash-completion.
-"
-  (let ((result (bash-completion--try-wordbreak-complete stub stub-start pos 
open-quote)))
-    (cons (buffer-substring-no-properties (car result) pos) result)))
-(make-obsolete
- 'bash-completion-dynamic-try-wordbreak-complete
- 'bash-completion--try-wordbreak-complete
- "2.1")
-
 (provide 'bash-completion)
 ;;; bash-completion.el ends here



reply via email to

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