summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-03-23 20:19:15 -0700
committerGlenn Morris <rgm@gnu.org>2010-03-23 20:19:15 -0700
commit1d94ebb00c022b55edc14fffce7e000643ea00a3 (patch)
tree40687449647df8b0da7d643e62490816bd4803ac /lisp/cedet
parentf4087766ce0aebb7c205ccd7ec28dfceb808d567 (diff)
downloademacs-1d94ebb00c022b55edc14fffce7e000643ea00a3.tar.gz
* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Consistently check ede-object is bound throughout.
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/semantic/bovine/c.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index 1f8b96afe0d..aab87f7eb25 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -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