summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-01-30 17:53:20 -0800
committerGlenn Morris <rgm@gnu.org>2012-01-30 17:53:20 -0800
commite58e988add7efd6cdc0b04887d917e3213f97f7b (patch)
tree2cc15c620ba5e9740f7f26db93817853a8302329 /lisp/emacs-lisp/easy-mmode.el
parentbccc0e401fc81b69ad8956c2b19da71c37bb796e (diff)
downloademacs-e58e988add7efd6cdc0b04887d917e3213f97f7b.tar.gz
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index b0bfde8b4b7..7d412f0fcd4 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -286,7 +286,7 @@ the mode if ARG is omitted or nil.
,(if keymap keymap-sym
`(if (boundp ',keymap-sym) ,keymap-sym))
nil
- ,(unless (eq mode modefun) 'modefun)))))))
+ ,(unless (eq mode modefun) `',modefun)))))))
;;;
;;; make global minor mode