From: Eric Ludlam Date: Sat, 11 Apr 2015 23:18:14 +0000 (-0400) Subject: semantic: Accept FLAGS parameter for makefile-mode for analyzing completions X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7308eaf0b48488d199e09bc9f1ae0433d17571d5;p=emacs.git 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) --- 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))