Commit 59821926 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Avoid a compilation warning in srt-mode.el

* lisp/cedet/srecode/srt-mode.el (srecode-macro-help): Add hack to
avoid compilation warning about slot that has to exist at this
parent 4f2f9504
......@@ -247,9 +247,10 @@ we can tell font lock about them.")
(let* ((C (car chl))
(name (symbol-name C))
(key (when (slot-exists-p C 'key)
(oref C key)))
(showexample t)
;; This avoids a compilation warning, but we
;; know that 'key exists here.
(slot-value C (intern "key" obarray))))
(showexample t))
(setq chl (cdr chl))
(setq chl (append (eieio-class-children C) chl))
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