emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/last-cedet-merge ec4505d 17/37: semantic: Accept F


From: David Engster
Subject: [Emacs-diffs] scratch/last-cedet-merge ec4505d 17/37: semantic: Accept FLAGS in texinfo-mode for analyzing completions
Date: Sun, 22 Jan 2017 21:26:32 +0000 (UTC)

branch: scratch/last-cedet-merge
commit ec4505da3f31a6e829c81e9d3a8555a9c6877c9e
Author: Eric Ludlam <address@hidden>
Commit: David Engster <address@hidden>

    semantic: Accept FLAGS in texinfo-mode for analyzing completions
    
    * lisp/cedet/semantic/texi.el (semantic-analyze-possible-completions):
     Add support for FLAGS (currently ignored).
---
 lisp/cedet/semantic/texi.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el
index 79f8798..d630856 100644
--- a/lisp/cedet/semantic/texi.el
+++ b/lisp/cedet/semantic/texi.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]