From: Glenn Morris Date: Tue, 31 Jan 2012 01:53:20 +0000 (-0800) Subject: * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case. X-Git-Tag: emacs-pretest-24.0.94~375 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e58e988add7efd6cdc0b04887d917e3213f97f7b;p=emacs.git * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b9f4f24fcd..258e9497e02 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-31 Glenn Morris + + * emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case. + 2012-01-30 Glenn Morris * emacs-lisp/authors.el (authors-fixed-entries): 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