summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/ede/config.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/cedet/ede/config.el b/lisp/cedet/ede/config.el
index f4fc1c2832b..eb46be7a693 100644
--- a/lisp/cedet/ede/config.el
+++ b/lisp/cedet/ede/config.el
@@ -408,7 +408,11 @@ java class path.")
(cl-defmethod ede-java-classpath ((proj ede-project-with-config-java))
"Return the classpath for this project."
- (oref (ede-config-get-configuration proj) classpath))
+ ;; The `classpath' slot only exists in the Java parts of cedet, and
+ ;; those have not been merged into Emacs. Suppress the warning
+ ;; about the unknown slot by using `intern'.
+ (slot-value (ede-config-get-configuration proj)
+ (intern "classpath" obarray)))
;; Local variables:
;; generated-autoload-file: "loaddefs.el"