changeset 107480:2d31f33b972c

* cedet/semantic/bovine/c.el (semantic-c-describe-environment): Consistently check ede-object is bound throughout.
author Glenn Morris <rgm@gnu.org>
date Tue, 23 Mar 2010 20:19:15 -0700
parents 6edb016a3cfc
children 2630a1cf07ac
files lisp/ChangeLog lisp/cedet/semantic/bovine/c.el
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Mar 23 14:22:46 2010 -0400
+++ b/lisp/ChangeLog	Tue Mar 23 20:19:15 2010 -0700
@@ -1,3 +1,8 @@
+2010-03-24  Glenn Morris  <rgm@gnu.org>
+
+	* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
+	Consistently check ede-object is bound throughout.
+
 2010-03-23  Sam Steingold  <sds@gnu.org>
 
 	Fix bug#5620: recalculate all markers on compilation buffer
--- a/lisp/cedet/semantic/bovine/c.el	Tue Mar 23 14:22:46 2010 -0400
+++ b/lisp/cedet/semantic/bovine/c.el	Tue Mar 23 20:19:15 2010 -0700
@@ -1761,8 +1761,9 @@
 
       (when (arrayp semantic-lex-spp-project-macro-symbol-obarray)
 	(princ "\n  Project symbol map:\n")
-	(princ "      Your project symbol map is derived from the EDE object:\n      ")
-	(princ (object-print ede-object))
+	(when (and (boundp 'ede-object) ede-object)
+	  (princ "      Your project symbol map is derived from the EDE object:\n      ")
+	  (princ (object-print ede-object)))
 	(princ "\n\n")
 	(let ((macros nil))
 	  (mapatoms