]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
authorGlenn Morris <rgm@gnu.org>
Tue, 31 Jan 2012 01:53:20 +0000 (17:53 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 31 Jan 2012 01:53:20 +0000 (17:53 -0800)
lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index 8b9f4f24fcdfe6bf36b4fdc186b2538d88310463..258e9497e0228623934ba9b4ff4e662f9510256d 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-31  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
+
 2012-01-30  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/authors.el (authors-fixed-entries):
index b0bfde8b4b728fa4e960d8edad04f4696531fd3b..7d412f0fcd45da7d999c445e49e80078f7cabc46 100644 (file)
@@ -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)))))))
 \f
 ;;;
 ;;; make global minor mode