1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00

Replace obsolete function lisp-complete-symbol

* lisp/cedet/semantic/grammar.el (semantic-grammar-complete):
Replace the obsolete function lisp-complete-symbol.
This commit is contained in:
Glenn Morris 2013-06-01 11:04:59 -07:00
parent e677c72639
commit 7225c83207
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2013-06-01 Glenn Morris <rgm@gnu.org>
* semantic/grammar.el (semantic-grammar-complete):
Replace the obsolete function lisp-complete-symbol.
* semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
* srecode/args.el, srecode/java.el: Require ede.

View file

@ -1484,7 +1484,10 @@ expression then Lisp symbols are completed."
(interactive)
(if (semantic-grammar-in-lisp-p)
;; We are in lisp code. Do lisp completion.
(lisp-complete-symbol)
(let ((completion-at-point-functions
(append '(lisp-completion-at-point)
completion-at-point-functions)))
(completion-at-point))
;; We are not in lisp code. Do rule completion.
(let* ((nonterms (semantic-find-tags-by-class 'nonterminal (current-buffer)))
(sym (car (semantic-ctxt-current-symbol)))