summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-17 12:19:44 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-17 12:19:44 +0200
commit5e63ea1ff6d65832504373a9bb621e47815b0874 (patch)
tree2d082108ef1081393a0a491e1e6cd7752d8934f6 /lisp
parenta7417ddf5e082543b23feaa86ba7be0b990851df (diff)
downloademacs-5e63ea1ff6d65832504373a9bb621e47815b0874.tar.gz
Suppress warning about out-of-tree Java class in cedet
* lisp/cedet/ede/config.el (ede-java-classpath): Hack to suppress a compilation warning in glue code to out-of-tree code.
Diffstat (limited to 'lisp')
-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"