mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Properly mark obsolete semantic functions as such
* lisp/cedet/semantic/ia.el (semantic-ia-get-completions) (semantic-ia-get-completions-deprecated): Make obsolete.
This commit is contained in:
parent
22d81123f5
commit
e8ee682733
1 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue