]> git.eshelyaron.com Git - emacs.git/commitdiff
Normalize version specifiers for make-obsolete and friends
authorStefan Kangas <stefan@marxist.se>
Mon, 8 Mar 2021 04:09:27 +0000 (05:09 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 8 Mar 2021 04:09:27 +0000 (05:09 +0100)
* 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.

lisp/auth-source.el
lisp/calendar/icalendar.el
lisp/cedet/semantic/db-el.el
lisp/emacs-lisp/debug.el
lisp/obsolete/nnir.el
lisp/obsolete/starttls.el

index 14cae8a52c79ae1dba504b66be00de3a284a7134..2516b4b9fae580eea13a635c5eec8af077f1ab41 100644 (file)
@@ -162,7 +162,7 @@ let-binding."
 (defvar auth-source-creation-prompts nil
   "Default prompts for token values.  Usually let-bound.")
 
-(make-obsolete 'auth-source-hide-passwords nil "Emacs 24.1")
+(make-obsolete 'auth-source-hide-passwords nil "24.1")
 
 (defcustom auth-source-save-behavior 'ask
   "If set, auth-source will respect it for save behavior."
@@ -2307,9 +2307,9 @@ See `auth-source-search' for details on SPEC."
 
 ;; deprecate the old interface
 (make-obsolete 'auth-source-user-or-password
-               'auth-source-search "Emacs 24.1")
+               'auth-source-search "24.1")
 (make-obsolete 'auth-source-forget-user-or-password
-               'auth-source-forget "Emacs 24.1")
+               'auth-source-forget "24.1")
 
 (defun auth-source-user-or-password
   (mode host port &optional username create-missing delete-existing)
index dafdd418d0dc54d9a0408a37cd0a15a440c9b98c..0b6ff560424dab9f890b22693e65f81ec6667ab2 100644 (file)
@@ -774,7 +774,7 @@ American format: \"month day year\"."
     nil))
 
 (define-obsolete-function-alias 'icalendar--datetime-to-noneuropean-date
-  'icalendar--datetime-to-american-date "icalendar 0.19")
+  'icalendar--datetime-to-american-date "23.1")
 
 (defun icalendar--datetime-to-european-date (datetime &optional separator)
   "Convert the decoded DATETIME to European format.
index 4699e722c1a195d90625c3cc7f7f7f4a29b936e2..de84b9780262b3255de1afb0c72e0688ef5f507d 100644 (file)
@@ -195,9 +195,6 @@ If Emacs cannot resolve this symbol to a particular file, then return nil."
        (when tab (cons tab match))))))
 
 (autoload 'help-function-arglist "help-fns")
-(defalias 'semanticdb-elisp-sym-function-arglist 'help-function-arglist)
-(make-obsolete 'semanticdb-elisp-sym-function-arglist
-              'help-function-arglist "CEDET 1.1")
 
 (defun semanticdb-elisp-sym->tag (sym &optional toktype)
   "Convert SYM into a semantic tag.
@@ -347,6 +344,9 @@ Return a list of tags."
             )
        taglst))))
 
+(define-obsolete-function-alias 'semanticdb-elisp-sym-function-arglist
+  #'help-function-arglist "24.3")
+
 (provide 'semantic/db-el)
 
 ;;; semantic/db-el.el ends here
index d9da0db455118ab259de7cf6b66dfcf59bdb778e..b2d54c77feb38bf30fe1d55154e2a4719d3ae8c9 100644 (file)
@@ -321,7 +321,7 @@ the debugger will not be entered."
 
 (make-obsolete 'debugger-insert-backtrace
                "use a `backtrace-mode' buffer or `backtrace-to-string'."
-               "Emacs 27.1")
+               "27.1")
 
 (defun debugger-insert-backtrace (frames do-xrefs)
   "Format and insert the backtrace FRAMES at point.
index 337d83ccca1de0959e0b54a12805493fb3d69632..7d7e88184c4ae617d4dbc00bcb054507adb43024 100644 (file)
@@ -279,7 +279,7 @@ that it is for swish++, not Namazu."
 ;; `nnir-swish-e-additional-switches'
 
 (make-obsolete-variable 'nnir-swish-e-index-file
-                       'nnir-swish-e-index-files "Emacs 23.1")
+                        'nnir-swish-e-index-files "23.1")
 (defcustom nnir-swish-e-index-file
   (expand-file-name "~/Mail/index.swish-e")
   "Index file for swish-e.
index 0ca486324fd67de0620bf14ef2c403d2ed7bb993..926248db9afb73e331b71f2a72c4c4c03b11e0a4 100644 (file)
@@ -288,7 +288,7 @@ GnuTLS requires a port number."
                          starttls-program))))
 
 (define-obsolete-function-alias 'starttls-any-program-available
-  #'starttls-available-p "2011-08-02")
+  #'starttls-available-p "24.1")
 
 (provide 'starttls)