Skip to content

Commit 1c2153d

Browse files
committed
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.
1 parent 62c6567 commit 1c2153d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bash-completion.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,8 @@ Call `bash-completion-dynamic' or `bash-completion-nocomint'."
12381238
result)))
12391239
(make-obsolete
12401240
'bash-completion-dynamic-complete-0
1241-
"call bash-completion-dynamic or bash-completion-dynamic-nocomint")
1241+
"call bash-completion-dynamic or bash-completion-dynamic-nocomint"
1242+
"2.1")
12421243

12431244
(defun bash-completion-dynamic-try-wordbreak-complete (stub stub-start pos open-quote)
12441245
"Obsolete function, kept for backward compatibility.
@@ -1252,7 +1253,8 @@ be called from outside bash-completion.
12521253
(cons (buffer-substring-no-properties (car result) pos) result)))
12531254
(make-obsolete
12541255
'bash-completion-dynamic-try-wordbreak-complete
1255-
'bash-completion--try-wordbreak-complete)
1256+
'bash-completion--try-wordbreak-complete
1257+
"2.1")
12561258

12571259
(provide 'bash-completion)
12581260
;;; bash-completion.el ends here

0 commit comments

Comments
 (0)