]> git.eshelyaron.com Git - emacs.git/commitdiff
completion.el: Make two compat aliases obsolete
authorStefan Kangas <stefan@marxist.se>
Tue, 14 Dec 2021 01:16:41 +0000 (02:16 +0100)
committerStefan Kangas <stefan@marxist.se>
Tue, 14 Dec 2021 01:16:41 +0000 (02:16 +0100)
* lisp/completion.el (cmpl-syntax-table, initialize-completions):
Make compat aliases obsolete.

lisp/completion.el

index 643f2da0d210b504ea7941ed1cf5634aa07b6d6c..a77cccde643d020ceafeda0f45b907fd0045d304 100644 (file)
@@ -492,7 +492,7 @@ Used to decide whether to save completions.")
     table))
 
 ;; Old name, non-namespace-clean.
-(defvaralias 'cmpl-syntax-table 'completion-syntax-table)
+(define-obsolete-variable-alias 'cmpl-syntax-table 'completion-syntax-table "29.1")
 
 (defvar-local completion-syntax-table completion-standard-syntax-table
   "This variable holds the current completion syntax table.")
@@ -2220,7 +2220,7 @@ TYPE is the type of the wrapper to be added.  Can be :before or :under."
 (completion-def-wrapper 'delete-backward-char-untabify :backward)
 
 ;; Old name, non-namespace-clean.
-(defalias 'initialize-completions #'completion-initialize)
+(define-obsolete-function-alias 'initialize-completions #'completion-initialize "29.1")
 
 (provide 'completion)