aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/easy-mmode.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d5080d92fd5..9741baa64bd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12015-02-16 Kelly Dean <kelly@prtime.org> 12015-02-16 Kelly Dean <kelly@prtime.org>
2 2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
4 arguments correctly. (Bug#19685)
5
62015-02-16 Kelly Dean <kelly@prtime.org>
7
3 * emacs-lisp/package-x.el (package-upload-buffer-internal): 8 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4 Create valid tar files. (Bug#19536) 9 Create valid tar files. (Bug#19536)
5 10
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index f7e8619948a..cd5720d144f 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -159,7 +159,8 @@ For example, you could write
159 ;; Allow skipping the first three args. 159 ;; Allow skipping the first three args.
160 (cond 160 (cond
161 ((keywordp init-value) 161 ((keywordp init-value)
162 (setq body `(,init-value ,lighter ,keymap ,@body) 162 (setq body (if keymap `(,init-value ,lighter ,keymap ,@body)
163 `(,init-value ,lighter))
163 init-value nil lighter nil keymap nil)) 164 init-value nil lighter nil keymap nil))
164 ((keywordp lighter) 165 ((keywordp lighter)
165 (setq body `(,lighter ,keymap ,@body) lighter nil keymap nil)) 166 (setq body `(,lighter ,keymap ,@body) lighter nil keymap nil))