summaryrefslogtreecommitdiff
path: root/lisp/cedet/ede
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-05-06 09:56:03 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-05-06 09:56:03 -0400
commit2fa7c314a52c8d1cb29a893341d1c03e8ede57cd (patch)
treec58c1e7c15d5cbe808107739251ec18408b6f00c /lisp/cedet/ede
parent7ddf29d8f5ec0bcde166553134596a1150bda971 (diff)
downloademacs-2fa7c314a52c8d1cb29a893341d1c03e8ede57cd.tar.gz
CEDET: Avoid `oref' on classes in a few more cases
* lisp/cedet/ede/generic.el (ede-find-target): * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes. * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused var `prefix'.
Diffstat (limited to 'lisp/cedet/ede')
-rw-r--r--lisp/cedet/ede/generic.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/ede/generic.el b/lisp/cedet/ede/generic.el
index 7e1425f1318..9e6fc978376 100644
--- a/lisp/cedet/ede/generic.el
+++ b/lisp/cedet/ede/generic.el
@@ -230,7 +230,7 @@ If one doesn't exist, create a new one for this directory."
(when ext
(dolist (C classes)
(let* ((classsym (intern (car C)))
- (extreg (oref classsym extension)))
+ (extreg (oref-default classsym extension)))
(when (and (not (string= extreg ""))
(string-match (concat "\\`\\(?:" extreg "\\)\\'") ext))
(setq cls classsym)))))