]> git.eshelyaron.com Git - emacs.git/commitdiff
semantic: Accept FLAGS in texinfo-mode for analyzing completions
authorEric Ludlam <eric@siege-engine.com>
Sat, 11 Apr 2015 23:18:01 +0000 (19:18 -0400)
committerDavid Engster <deng@randomsample.de>
Sun, 22 Jan 2017 21:25:15 +0000 (22:25 +0100)
* lisp/cedet/semantic/texi.el (semantic-analyze-possible-completions):
 Add support for FLAGS (currently ignored).

lisp/cedet/semantic/texi.el

index 79f879899d3963aff710ce9ff26c4b790ef31340..d630856543fff63914c9e63cc2f01cb29739e680 100644 (file)
@@ -412,12 +412,13 @@ Optional argument POINT is where to look for the environment."
   "List of commands that we might bother completing.")
 
 (define-mode-local-override semantic-analyze-possible-completions
-  texinfo-mode (context)
+  texinfo-mode (context &rest flags)
   "List smart completions at point.
 Since texinfo is not a programming language the default version is not
 useful.  Instead, look at the current symbol.  If it is a command
 do primitive texinfo built ins.  If not, use ispell to lookup words
-that start with that symbol."
+that start with that symbol.
+Any extra FLAGS are currently ignored."
   (let ((prefix (car (oref context :prefix)))
        )
     (cond ((member 'function (oref context :prefixclass))