summaryrefslogtreecommitdiff
path: root/lisp/cedet/srecode/srt-mode.el
diff options
context:
space:
mode:
authorEric Ludlam <ericludlam@gmail.com>2019-10-31 19:10:58 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2019-10-31 19:10:58 -0400
commit9d209c90345df6c39310912ba04ca02473a24bed (patch)
tree0a04ca128e41d2049921b7d85d183e94c66b80c7 /lisp/cedet/srecode/srt-mode.el
parentcf59afb7e1403365a9cea4655e1c0c92fade2304 (diff)
downloademacs-9d209c90345df6c39310912ba04ca02473a24bed.tar.gz
* 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/srt-mode.el')
-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."
context-return)))
(define-mode-local-override semantic-analyze-possible-completions
- srecode-template-mode (context)
+ srecode-template-mode (context &rest flags)
"Return a list of possible completions based on NONTEXT."
(with-current-buffer (oref context buffer)
(let* ((prefix (car (last (oref context prefix))))