diff options
| author | Stefan Monnier | 2000-08-16 20:16:33 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-08-16 20:16:33 +0000 |
| commit | cb5da1a31e359792533ba93e6edcbc1fd3c0e321 (patch) | |
| tree | ff01a0c591cb87d0ceecca9740104f093e7d3cb9 | |
| parent | d683704ce5f986c06947199b44517b789bb64551 (diff) | |
| download | emacs-cb5da1a31e359792533ba93e6edcbc1fd3c0e321.tar.gz emacs-cb5da1a31e359792533ba93e6edcbc1fd3c0e321.zip | |
(define-minor-mode): Use `symbol-value' to keep the byte-compiler quiet.
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 95a0211769d..0d1b092e515 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -189,7 +189,8 @@ With zero or negative ARG turn mode off. | |||
| 189 | 189 | ||
| 190 | (add-minor-mode ',mode ',lighter | 190 | (add-minor-mode ',mode ',lighter |
| 191 | ,(if keymap keymap-sym | 191 | ,(if keymap keymap-sym |
| 192 | `(if (boundp ',keymap-sym) ,keymap-sym))) | 192 | `(if (boundp ',keymap-sym) |
| 193 | (symbol-value ',keymap-sym)))) | ||
| 193 | 194 | ||
| 194 | ;; If the mode is global, call the function according to the default. | 195 | ;; If the mode is global, call the function according to the default. |
| 195 | ,(if globalp `(if ,mode (,mode 1)))))) | 196 | ,(if globalp `(if ,mode (,mode 1)))))) |