Commit 5ca4661e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(define-minor-mode): Don't use symbol-value with constant argument.

parent c61dc887
2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
with constant argument.
* emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
* emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
......
......@@ -263,8 +263,7 @@ With zero or negative ARG turn mode off.
(add-minor-mode ',mode ',lighter
,(if keymap keymap-sym
`(if (boundp ',keymap-sym)
(symbol-value ',keymap-sym)))))))
`(if (boundp ',keymap-sym) ,keymap-sym))))))
;;;
;;; make global minor mode
......
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