# HG changeset patch # User Stefan Monnier # Date 966456993 0 # Node ID 76bba9fc3c227d6eb8428dd5017ee20725a2c0f5 # Parent e86dbf76e6991c031e20632caa5ca2ed19886302 (define-minor-mode): Use `symbol-value' to keep the byte-compiler quiet. diff -r e86dbf76e699 -r 76bba9fc3c22 lisp/emacs-lisp/easy-mmode.el --- a/lisp/emacs-lisp/easy-mmode.el Wed Aug 16 19:57:31 2000 +0000 +++ b/lisp/emacs-lisp/easy-mmode.el Wed Aug 16 20:16:33 2000 +0000 @@ -189,7 +189,8 @@ (add-minor-mode ',mode ',lighter ,(if keymap keymap-sym - `(if (boundp ',keymap-sym) ,keymap-sym))) + `(if (boundp ',keymap-sym) + (symbol-value ',keymap-sym)))) ;; If the mode is global, call the function according to the default. ,(if globalp `(if ,mode (,mode 1))))))