mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(define-minor-mode): Use `symbol-value' to keep the byte-compiler quiet.
This commit is contained in:
parent
d683704ce5
commit
cb5da1a31e
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ With zero or negative ARG turn mode off.
|
|||
|
||||
(add-minor-mode ',mode ',lighter
|
||||
,(if keymap keymap-sym
|
||||
`(if (boundp ',keymap-sym) ,keymap-sym)))
|
||||
`(if (boundp ',keymap-sym)
|
||||
(symbol-value ',keymap-sym))))
|
||||
|
||||
;; If the mode is global, call the function according to the default.
|
||||
,(if globalp `(if ,mode (,mode 1))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue