aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/srecode
diff options
context:
space:
mode:
authorEric Ludlam2019-10-31 19:10:58 -0400
committerStefan Monnier2019-10-31 19:10:58 -0400
commit9d209c90345df6c39310912ba04ca02473a24bed (patch)
tree0a04ca128e41d2049921b7d85d183e94c66b80c7 /lisp/cedet/srecode
parentcf59afb7e1403365a9cea4655e1c0c92fade2304 (diff)
downloademacs-9d209c90345df6c39310912ba04ca02473a24bed.tar.gz
emacs-9d209c90345df6c39310912ba04ca02473a24bed.zip
* lisp/cedet/ (semantic-analyze-possible-completions): Add `flags` arg
* lisp/cedet/semantic/texi.el (semantic-analyze-possible-completions), lisp/cedet/srecode/srt-mode.el (semantic-analyze-possible-completions), lisp/cedet/semantic/bovine/make.el (semantic-analyze-possible-completions): Add `flags` arg. * lisp/cedet/semantic/grammar.el (semantic-analyze-possible-completions): Add `flags` arg. Reverse the found prefix. (semantic-ctxt-current-class-list): Include token tags as things to appear in non-lisp context.
Diffstat (limited to 'lisp/cedet/srecode')
-rw-r--r--lisp/cedet/srecode/srt-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el
index 5e7c7c111a3..ac74949627e 100644
--- a/lisp/cedet/srecode/srt-mode.el
+++ b/lisp/cedet/srecode/srt-mode.el
@@ -627,7 +627,7 @@ section or ? for an ask variable."
627 context-return))) 627 context-return)))
628 628
629(define-mode-local-override semantic-analyze-possible-completions 629(define-mode-local-override semantic-analyze-possible-completions
630 srecode-template-mode (context) 630 srecode-template-mode (context &rest flags)
631 "Return a list of possible completions based on NONTEXT." 631 "Return a list of possible completions based on NONTEXT."
632 (with-current-buffer (oref context buffer) 632 (with-current-buffer (oref context buffer)
633 (let* ((prefix (car (last (oref context prefix)))) 633 (let* ((prefix (car (last (oref context prefix))))