diff options
| author | Stefan Monnier | 2009-08-30 14:20:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-08-30 14:20:43 +0000 |
| commit | 5ca4661e539741df7da2aed3701e1a4f38c2192d (patch) | |
| tree | 3dcf2e9caee5d9dacfd1e08945f15c22fcc9aea5 | |
| parent | c61dc887f8bba43b668dbfa2ca7e127d16f3170b (diff) | |
| download | emacs-5ca4661e539741df7da2aed3701e1a4f38c2192d.tar.gz emacs-5ca4661e539741df7da2aed3701e1a4f38c2192d.zip | |
(define-minor-mode): Don't use symbol-value with constant argument.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1fbbcdef984..4ae65f7feed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value | ||
| 4 | with constant argument. | ||
| 5 | |||
| 3 | * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte. | 6 | * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte. |
| 4 | 7 | ||
| 5 | * emacs-lisp/cl.el (cl-macro-environment): Don't define it here. | 8 | * emacs-lisp/cl.el (cl-macro-environment): Don't define it here. |
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 91dc673f26c..b625cb87c0b 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -263,8 +263,7 @@ With zero or negative ARG turn mode off. | |||
| 263 | 263 | ||
| 264 | (add-minor-mode ',mode ',lighter | 264 | (add-minor-mode ',mode ',lighter |
| 265 | ,(if keymap keymap-sym | 265 | ,(if keymap keymap-sym |
| 266 | `(if (boundp ',keymap-sym) | 266 | `(if (boundp ',keymap-sym) ,keymap-sym)))))) |
| 267 | (symbol-value ',keymap-sym))))))) | ||
| 268 | 267 | ||
| 269 | ;;; | 268 | ;;; |
| 270 | ;;; make global minor mode | 269 | ;;; make global minor mode |