diff options
Diffstat (limited to 'lisp/cedet/srecode')
| -rw-r--r-- | lisp/cedet/srecode/srt-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 1b58ce326ce..660225925e0 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el @@ -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)) |
