branch: elpa/bash-completion
commit 1c2153d2871a1e0600e5f0e54c17118779aa64be
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    Call make-obsolete with three arguments
    
    Calling it with two arguments, while still supported, is discouraged
    and the byte-compiler complains about it.  If you plan to or end up
    releasing v2.0.N before v2.1, then you should probably adjust this.
---
 bash-completion.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bash-completion.el b/bash-completion.el
index 2d0c589620..269230afbc 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1238,7 +1238,8 @@ Call `bash-completion-dynamic' or 
`bash-completion-nocomint'."
           result)))
 (make-obsolete
  'bash-completion-dynamic-complete-0
- "call bash-completion-dynamic or bash-completion-dynamic-nocomint")
+ "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.
@@ -1252,7 +1253,8 @@ be called from outside bash-completion.
     (cons (buffer-substring-no-properties (car result) pos) result)))
 (make-obsolete
  'bash-completion-dynamic-try-wordbreak-complete
- 'bash-completion--try-wordbreak-complete)
+ 'bash-completion--try-wordbreak-complete
+ "2.1")
 
 (provide 'bash-completion)
 ;;; bash-completion.el ends here

Reply via email to