summaryrefslogtreecommitdiff
path: root/lisp/completion.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-14 02:16:41 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-14 02:16:41 +0100
commit855f1bd17667781761e62ed439ecc99fe972cf1a (patch)
tree7f18e6c71f983070d7b9f9e01d663fe5443a524e /lisp/completion.el
parentae169bda2cbec49e30a7ca15828c45f2c638e500 (diff)
downloademacs-855f1bd17667781761e62ed439ecc99fe972cf1a.tar.gz
completion.el: Make two compat aliases obsolete
* lisp/completion.el (cmpl-syntax-table, initialize-completions): Make compat aliases obsolete.
Diffstat (limited to 'lisp/completion.el')
-rw-r--r--lisp/completion.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/completion.el b/lisp/completion.el
index 643f2da0d21..a77cccde643 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -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)