diff lisp/cedet/semantic/complete.el @ 106431:4ffa662ec661

* cedet/semantic/bovine/c.el (semantic-c-describe-environment): Describe project macro symbols. * cedet/semantic/complete.el (semantic-complete-do-completion): Don't call semantic-collector-current-exact-match. * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of ede-objects as targets. * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output a target's object list even if compiler vars are already in the Makefile. * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the list of headers producing necessary macros.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 05 Dec 2009 19:10:42 +0000
parents 019d906c8f48
children 1d1d5d9bd884
line wrap: on
line diff
--- a/lisp/cedet/semantic/complete.el	Sat Dec 05 13:32:18 2009 +0000
+++ b/lisp/cedet/semantic/complete.el	Sat Dec 05 19:10:42 2009 +0000
@@ -515,8 +515,13 @@
 	(semantic-displayor-set-completions
 	 displayor
 	 (or
-	  (and (not (eq na 'displayend))
-	       (semantic-collector-current-exact-match collector))
+	  ;; For the below - This caused problems for Chong Yidong
+	  ;; when experimenting with the completion engine.  I don't
+	  ;; remember what the problem was though, and I wasn't sure why
+	  ;; the below two lines were there since they obviously added
+	  ;; some odd behavior.  -EML
+	  ;; (and (not (eq na 'displayend))
+	  ;;      (semantic-collector-current-exact-match collector))
 	  (semantic-collector-all-completions collector contents))
 	 contents)
 	;; Ask the displayor to display them.