diff options
| author | Stefan Kangas <stefan@marxist.se> | 2020-11-20 14:57:22 +0100 |
|---|---|---|
| committer | Stefan Kangas <stefan@marxist.se> | 2020-11-20 16:11:33 +0100 |
| commit | e8ee682733733e33336cb5983ef024c0830dbecc (patch) | |
| tree | c5e02589981a3071cdd3bcb8639484f8fc0f30ad | |
| parent | 22d81123f5d552d516fb9461f90ad196af9c91a8 (diff) | |
| download | emacs-e8ee682733733e33336cb5983ef024c0830dbecc.tar.gz | |
Properly mark obsolete semantic functions as such
* lisp/cedet/semantic/ia.el (semantic-ia-get-completions)
(semantic-ia-get-completions-deprecated): Make obsolete.
| -rw-r--r-- | lisp/cedet/semantic/ia.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index 4a129aae74e..e6711608386 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el @@ -79,15 +79,14 @@ (insert "(")) (t nil)))) -(defalias 'semantic-ia-get-completions 'semantic-ia-get-completions-deprecated - "`Semantic-ia-get-completions' is obsolete. -Use `semantic-analyze-possible-completions' instead.") +(defalias 'semantic-ia-get-completions 'semantic-ia-get-completions-deprecated) +(make-obsolete 'semantic-ia-get-completions + #'semantic-analyze-possible-completions "28.1") (defun semantic-ia-get-completions-deprecated (context point) "A function to help transition away from `semantic-ia-get-completions'. -Return completions based on CONTEXT at POINT. -You should not use this, nor the aliased version. -Use `semantic-analyze-possible-completions' instead." +Return completions based on CONTEXT at POINT." + (declare (obsolete semantic-analyze-possible-completions "28.1")) (semantic-analyze-possible-completions context)) ;;;###autoload |
