diff options
| author | Stefan Monnier | 2021-03-20 20:39:01 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2021-03-20 20:39:01 -0400 |
| commit | f27a9a341ffc19b1178b2df7eac4ab0730bae961 (patch) | |
| tree | 7c8962807c9f44b47d744efaee3102980a28cfe2 | |
| parent | dee2f914f31bb6246cf39d8a79a76ce609babda2 (diff) | |
| download | emacs-f27a9a341ffc19b1178b2df7eac4ab0730bae961.tar.gz emacs-f27a9a341ffc19b1178b2df7eac4ab0730bae961.zip | |
* lisp/cedet/semantic/ia.el (semantic-ia-complete-symbol): Simplify
Cut the `semantic-ia-get-completions-deprecated` middle man.
| -rw-r--r-- | lisp/cedet/semantic/ia.el | 9 |
1 files 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 @@ | |||
| 79 | (insert "(")) | 79 | (insert "(")) |
| 80 | (t nil)))) | 80 | (t nil)))) |
| 81 | 81 | ||
| 82 | (defalias 'semantic-ia-get-completions #'semantic-ia-get-completions-deprecated) | 82 | (defun semantic-ia-get-completions (context _point) |
| 83 | (make-obsolete 'semantic-ia-get-completions | 83 | "Fetch the completion of CONTEXT at POINT." |
| 84 | #'semantic-analyze-possible-completions "28.1") | ||
| 85 | |||
| 86 | (defun semantic-ia-get-completions-deprecated (context _point) | ||
| 87 | "A function to help transition away from `semantic-ia-get-completions'. | ||
| 88 | Return completions based on CONTEXT at POINT." | ||
| 89 | (declare (obsolete semantic-analyze-possible-completions "28.1")) | 84 | (declare (obsolete semantic-analyze-possible-completions "28.1")) |
| 90 | (semantic-analyze-possible-completions context)) | 85 | (semantic-analyze-possible-completions context)) |
| 91 | 86 | ||