diff options
| author | Stefan Kangas | 2021-03-08 05:09:27 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-03-08 05:09:27 +0100 |
| commit | 0e4a2dca836b52740ead29d5ff6436d938d17a78 (patch) | |
| tree | c4f8809e661187c71bc194111903ac63664479a9 | |
| parent | 570afde3765732b6705ba447adfc4c36fa6e9a0c (diff) | |
| download | emacs-0e4a2dca836b52740ead29d5ff6436d938d17a78.tar.gz emacs-0e4a2dca836b52740ead29d5ff6436d938d17a78.zip | |
Normalize version specifiers for make-obsolete and friends
* lisp/auth-source.el (auth-source-forget-user-or-password)
(auth-source-user-or-password, auth-source-hide-passwords):
* lisp/calendar/icalendar.el (icalendar--datetime-to-noneuropean-date):
* lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym-function-arglist):
* lisp/emacs-lisp/debug.el (debugger-insert-backtrace):
* lisp/obsolete/nnir.el (nnir-swish-e-index-file):
* lisp/obsolete/starttls.el (starttls-any-program-available):
Normalize version specifiers for make-obsolete and friends.
| -rw-r--r-- | lisp/auth-source.el | 6 | ||||
| -rw-r--r-- | lisp/calendar/icalendar.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-el.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/debug.el | 2 | ||||
| -rw-r--r-- | lisp/obsolete/nnir.el | 2 | ||||
| -rw-r--r-- | lisp/obsolete/starttls.el | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el index 14cae8a52c7..2516b4b9fae 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el | |||
| @@ -162,7 +162,7 @@ let-binding." | |||
| 162 | (defvar auth-source-creation-prompts nil | 162 | (defvar auth-source-creation-prompts nil |
| 163 | "Default prompts for token values. Usually let-bound.") | 163 | "Default prompts for token values. Usually let-bound.") |
| 164 | 164 | ||
| 165 | (make-obsolete 'auth-source-hide-passwords nil "Emacs 24.1") | 165 | (make-obsolete 'auth-source-hide-passwords nil "24.1") |
| 166 | 166 | ||
| 167 | (defcustom auth-source-save-behavior 'ask | 167 | (defcustom auth-source-save-behavior 'ask |
| 168 | "If set, auth-source will respect it for save behavior." | 168 | "If set, auth-source will respect it for save behavior." |
| @@ -2307,9 +2307,9 @@ See `auth-source-search' for details on SPEC." | |||
| 2307 | 2307 | ||
| 2308 | ;; deprecate the old interface | 2308 | ;; deprecate the old interface |
| 2309 | (make-obsolete 'auth-source-user-or-password | 2309 | (make-obsolete 'auth-source-user-or-password |
| 2310 | 'auth-source-search "Emacs 24.1") | 2310 | 'auth-source-search "24.1") |
| 2311 | (make-obsolete 'auth-source-forget-user-or-password | 2311 | (make-obsolete 'auth-source-forget-user-or-password |
| 2312 | 'auth-source-forget "Emacs 24.1") | 2312 | 'auth-source-forget "24.1") |
| 2313 | 2313 | ||
| 2314 | (defun auth-source-user-or-password | 2314 | (defun auth-source-user-or-password |
| 2315 | (mode host port &optional username create-missing delete-existing) | 2315 | (mode host port &optional username create-missing delete-existing) |
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index dafdd418d0d..0b6ff560424 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el | |||
| @@ -774,7 +774,7 @@ American format: \"month day year\"." | |||
| 774 | nil)) | 774 | nil)) |
| 775 | 775 | ||
| 776 | (define-obsolete-function-alias 'icalendar--datetime-to-noneuropean-date | 776 | (define-obsolete-function-alias 'icalendar--datetime-to-noneuropean-date |
| 777 | 'icalendar--datetime-to-american-date "icalendar 0.19") | 777 | 'icalendar--datetime-to-american-date "23.1") |
| 778 | 778 | ||
| 779 | (defun icalendar--datetime-to-european-date (datetime &optional separator) | 779 | (defun icalendar--datetime-to-european-date (datetime &optional separator) |
| 780 | "Convert the decoded DATETIME to European format. | 780 | "Convert the decoded DATETIME to European format. |
diff --git a/lisp/cedet/semantic/db-el.el b/lisp/cedet/semantic/db-el.el index 4699e722c1a..de84b978026 100644 --- a/lisp/cedet/semantic/db-el.el +++ b/lisp/cedet/semantic/db-el.el | |||
| @@ -195,9 +195,6 @@ If Emacs cannot resolve this symbol to a particular file, then return nil." | |||
| 195 | (when tab (cons tab match)))))) | 195 | (when tab (cons tab match)))))) |
| 196 | 196 | ||
| 197 | (autoload 'help-function-arglist "help-fns") | 197 | (autoload 'help-function-arglist "help-fns") |
| 198 | (defalias 'semanticdb-elisp-sym-function-arglist 'help-function-arglist) | ||
| 199 | (make-obsolete 'semanticdb-elisp-sym-function-arglist | ||
| 200 | 'help-function-arglist "CEDET 1.1") | ||
| 201 | 198 | ||
| 202 | (defun semanticdb-elisp-sym->tag (sym &optional toktype) | 199 | (defun semanticdb-elisp-sym->tag (sym &optional toktype) |
| 203 | "Convert SYM into a semantic tag. | 200 | "Convert SYM into a semantic tag. |
| @@ -347,6 +344,9 @@ Return a list of tags." | |||
| 347 | ) | 344 | ) |
| 348 | taglst)))) | 345 | taglst)))) |
| 349 | 346 | ||
| 347 | (define-obsolete-function-alias 'semanticdb-elisp-sym-function-arglist | ||
| 348 | #'help-function-arglist "24.3") | ||
| 349 | |||
| 350 | (provide 'semantic/db-el) | 350 | (provide 'semantic/db-el) |
| 351 | 351 | ||
| 352 | ;;; semantic/db-el.el ends here | 352 | ;;; semantic/db-el.el ends here |
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index d9da0db4551..b2d54c77feb 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el | |||
| @@ -321,7 +321,7 @@ the debugger will not be entered." | |||
| 321 | 321 | ||
| 322 | (make-obsolete 'debugger-insert-backtrace | 322 | (make-obsolete 'debugger-insert-backtrace |
| 323 | "use a `backtrace-mode' buffer or `backtrace-to-string'." | 323 | "use a `backtrace-mode' buffer or `backtrace-to-string'." |
| 324 | "Emacs 27.1") | 324 | "27.1") |
| 325 | 325 | ||
| 326 | (defun debugger-insert-backtrace (frames do-xrefs) | 326 | (defun debugger-insert-backtrace (frames do-xrefs) |
| 327 | "Format and insert the backtrace FRAMES at point. | 327 | "Format and insert the backtrace FRAMES at point. |
diff --git a/lisp/obsolete/nnir.el b/lisp/obsolete/nnir.el index 337d83ccca1..7d7e88184c4 100644 --- a/lisp/obsolete/nnir.el +++ b/lisp/obsolete/nnir.el | |||
| @@ -279,7 +279,7 @@ that it is for swish++, not Namazu." | |||
| 279 | ;; `nnir-swish-e-additional-switches' | 279 | ;; `nnir-swish-e-additional-switches' |
| 280 | 280 | ||
| 281 | (make-obsolete-variable 'nnir-swish-e-index-file | 281 | (make-obsolete-variable 'nnir-swish-e-index-file |
| 282 | 'nnir-swish-e-index-files "Emacs 23.1") | 282 | 'nnir-swish-e-index-files "23.1") |
| 283 | (defcustom nnir-swish-e-index-file | 283 | (defcustom nnir-swish-e-index-file |
| 284 | (expand-file-name "~/Mail/index.swish-e") | 284 | (expand-file-name "~/Mail/index.swish-e") |
| 285 | "Index file for swish-e. | 285 | "Index file for swish-e. |
diff --git a/lisp/obsolete/starttls.el b/lisp/obsolete/starttls.el index 0ca486324fd..926248db9af 100644 --- a/lisp/obsolete/starttls.el +++ b/lisp/obsolete/starttls.el | |||
| @@ -288,7 +288,7 @@ GnuTLS requires a port number." | |||
| 288 | starttls-program)))) | 288 | starttls-program)))) |
| 289 | 289 | ||
| 290 | (define-obsolete-function-alias 'starttls-any-program-available | 290 | (define-obsolete-function-alias 'starttls-any-program-available |
| 291 | #'starttls-available-p "2011-08-02") | 291 | #'starttls-available-p "24.1") |
| 292 | 292 | ||
| 293 | (provide 'starttls) | 293 | (provide 'starttls) |
| 294 | 294 | ||