diff options
| author | Lars Ingebrigtsen | 2019-06-17 12:19:44 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-17 12:19:44 +0200 |
| commit | 5e63ea1ff6d65832504373a9bb621e47815b0874 (patch) | |
| tree | 2d082108ef1081393a0a491e1e6cd7752d8934f6 | |
| parent | a7417ddf5e082543b23feaa86ba7be0b990851df (diff) | |
| download | emacs-5e63ea1ff6d65832504373a9bb621e47815b0874.tar.gz emacs-5e63ea1ff6d65832504373a9bb621e47815b0874.zip | |
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.
| -rw-r--r-- | lisp/cedet/ede/config.el | 6 |
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.") | |||
| 408 | 408 | ||
| 409 | (cl-defmethod ede-java-classpath ((proj ede-project-with-config-java)) | 409 | (cl-defmethod ede-java-classpath ((proj ede-project-with-config-java)) |
| 410 | "Return the classpath for this project." | 410 | "Return the classpath for this project." |
| 411 | (oref (ede-config-get-configuration proj) classpath)) | 411 | ;; The `classpath' slot only exists in the Java parts of cedet, and |
| 412 | ;; those have not been merged into Emacs. Suppress the warning | ||
| 413 | ;; about the unknown slot by using `intern'. | ||
| 414 | (slot-value (ede-config-get-configuration proj) | ||
| 415 | (intern "classpath" obarray))) | ||
| 412 | 416 | ||
| 413 | ;; Local variables: | 417 | ;; Local variables: |
| 414 | ;; generated-autoload-file: "loaddefs.el" | 418 | ;; generated-autoload-file: "loaddefs.el" |