[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree Jav
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree Java class in cedet |
Date: |
Mon, 17 Jun 2019 06:22:39 -0400 (EDT) |
branch: master
commit 5e63ea1ff6d65832504373a9bb621e47815b0874
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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.
---
lisp/cedet/ede/config.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/cedet/ede/config.el b/lisp/cedet/ede/config.el
index f4fc1c2..eb46be7 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"
- [Emacs-diffs] master updated (1dfd6b4 -> c90fc19), Lars Ingebrigtsen, 2019/06/17
- [Emacs-diffs] master 5a35377 1/6: Make with-suppressed-warnings work in cl-defmethod, Lars Ingebrigtsen, 2019/06/17
- [Emacs-diffs] master 3ccc0d6 3/6: Add check for enabled warning before issuing, Lars Ingebrigtsen, 2019/06/17
- [Emacs-diffs] master 3820b77 2/6: Suppress warning about object-print in eieio.el, Lars Ingebrigtsen, 2019/06/17
- [Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree Java class in cedet,
Lars Ingebrigtsen <=
- [Emacs-diffs] master a7417dd 4/6: Suppress warning about object-print in eieio.el, Lars Ingebrigtsen, 2019/06/17
- [Emacs-diffs] master c90fc19 6/6: Suppress compilation warning in srt-mode, Lars Ingebrigtsen, 2019/06/17