Commit 5e63ea1f authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

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.
parent a7417ddf
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment