]> git.eshelyaron.com Git - emacs.git/commitdiff
* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
authorGlenn Morris <rgm@gnu.org>
Wed, 24 Mar 2010 03:19:15 +0000 (20:19 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 24 Mar 2010 03:19:15 +0000 (20:19 -0700)
Consistently check ede-object is bound throughout.

lisp/ChangeLog
lisp/cedet/semantic/bovine/c.el

index 6eb3260f44569a6d0978d85c859d057a5b4362e1..0b845dd120513aadcc8ce92425282a21886ec59f 100644 (file)
@@ -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
index 1f8b96afe0d514ed691ae5e69121e0906fb9f628..aab87f7eb250a10c3bdc3de7c4245720e01a22aa 100644 (file)
@@ -1761,8 +1761,9 @@ DO NOT return the list of tags encompassing point."
 
       (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