From 7308eaf0b48488d199e09bc9f1ae0433d17571d5 Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Sat, 11 Apr 2015 19:18:14 -0400 Subject: [PATCH] semantic: Accept FLAGS parameter for makefile-mode for analyzing completions * lisp/cedet/semantic/bovine/make.el (semantic-analyze-possible-completions): Add support for FLAGS arg (currently ignored) --- lisp/cedet/semantic/bovine/make.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/cedet/semantic/bovine/make.el b/lisp/cedet/semantic/bovine/make.el index 2a224bd99be..78a0926ea33 100644 --- a/lisp/cedet/semantic/bovine/make.el +++ b/lisp/cedet/semantic/bovine/make.el @@ -175,9 +175,10 @@ This is the same as a regular prototype." (semantic-format-tag-prototype tag parent color)) (define-mode-local-override semantic-analyze-possible-completions - makefile-mode (context) + makefile-mode (context &rest flags) "Return a list of possible completions in a Makefile. -Uses default implementation, and also gets a list of filenames." +Uses default implementation, and also gets a list of filenames. +Any extra FLAGS are ignored." (require 'semantic/analyze/complete) (with-current-buffer (oref context buffer) (let* ((normal (semantic-analyze-possible-completions-default context)) -- 2.39.5