Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5ca4661e
Commit
5ca4661e
authored
Aug 30, 2009
by
Stefan Monnier
Browse files
(define-minor-mode): Don't use symbol-value with constant argument.
parent
c61dc887
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/emacs-lisp/easy-mmode.el
lisp/emacs-lisp/easy-mmode.el
+1
-2
No files found.
lisp/ChangeLog
View file @
5ca4661e
2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
with constant argument.
* emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
* emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
...
...
lisp/emacs-lisp/easy-mmode.el
View file @
5ca4661e
...
...
@@ -263,8 +263,7 @@ With zero or negative ARG turn mode off.
(
add-minor-mode
',mode
',lighter
,
(
if
keymap
keymap-sym
`
(
if
(
boundp
',keymap-sym
)
(
symbol-value
',keymap-sym
)))))))
`
(
if
(
boundp
',keymap-sym
)
,
keymap-sym
))))))
;;;
;;; make global minor mode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment