Presently, on bleeding edge Emacs, define-minor-mode with an empty docstring makes the mode impossible to load as "" is coerced to nil and subsequently inserted, which is not kosher. The options as they stand are either a non-empty string (as I've done in this patch) or nil, which results in the fallback value of Toggle <mode> on or off. I'm not picky either way. I also sent a bug report to the Emacs list here so this edge case will hopefully be covered (or explicitly disallowed) in the future.
Presently, on bleeding edge Emacs,
define-minor-mode
with an empty docstring makes the mode impossible to load as""
is coerced tonil
and subsequentlyinsert
ed, which is not kosher. The options as they stand are either a non-empty string (as I've done in this patch) ornil
, which results in the fallback value ofToggle <mode> on or off
. I'm not picky either way. I also sent a bug report to the Emacs list here so this edge case will hopefully be covered (or explicitly disallowed) in the future.