diff options
| -rw-r--r-- | lisp/cedet/srecode/srt-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 660225925e0..0179929e7a9 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el | |||
| @@ -511,7 +511,10 @@ section or ? for an ask variable." | |||
| 511 | (split-string (oref inserter secondname) | 511 | (split-string (oref inserter secondname) |
| 512 | ":") | 512 | ":") |
| 513 | nil))) | 513 | nil))) |
| 514 | (key (oref inserter key))) | 514 | (key (when (slot-exists-p inserter 'key) |
| 515 | ;; This avoids a compilation warning, but we | ||
| 516 | ;; know that 'key exists here. | ||
| 517 | (slot-value inserter (intern "key" obarray))))) | ||
| 515 | (cond ((null key) | 518 | (cond ((null key) |
| 516 | ;; A plain variable | 519 | ;; A plain variable |
| 517 | (cons nil base)) | 520 | (cons nil base)) |