From f27a9a341ffc19b1178b2df7eac4ab0730bae961 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 20 Mar 2021 20:39:01 -0400 Subject: [PATCH] * lisp/cedet/semantic/ia.el (semantic-ia-complete-symbol): Simplify Cut the `semantic-ia-get-completions-deprecated` middle man. --- lisp/cedet/semantic/ia.el | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index e75bc918e0b..7186a781235 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el @@ -79,13 +79,8 @@ (insert "(")) (t nil)))) -(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." +(defun semantic-ia-get-completions (context _point) + "Fetch the completion of CONTEXT at POINT." (declare (obsolete semantic-analyze-possible-completions "28.1")) (semantic-analyze-possible-completions context)) -- 2.39.5