(let* ((mode-name (symbol-name mode))
(pretty-name (easy-mmode-pretty-mode-name mode lighter))
(globalp nil)
- (togglep t) ;why would you ever want to toggle?
+ (togglep t) ;why would you ever prevent toggling?
(group nil)
(extra-args nil)
(keymap-sym (if (and keymap (symbolp keymap)) keymap
,(if keymap 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 (and load-file-name ,mode)