]> git.eshelyaron.com Git - emacs.git/commit
Clarify the behavior of minor mode commands
authorPhilipp Stephani <phst@google.com>
Sun, 16 Oct 2016 18:22:24 +0000 (20:22 +0200)
committerPhilipp Stephani <phst@google.com>
Tue, 25 Oct 2016 21:43:17 +0000 (23:43 +0200)
commitb9d1f96f22bfa7ee3873f17e27b64e0fc6b61b3e
treea44d6f4261053700fdd2ebf837c9e126cad09132
parent1ea669d6f0269784b3e69238fd2813f55340d53a
Clarify the behavior of minor mode commands

See Bug#24706.

* doc/lispref/modes.texi (Minor Mode Conventions): Clarify behavior when
the argument to a minor mode command is not an integer.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Clarify behavior
when ARG is not an integer.
* test/lisp/emacs-lisp/easy-mmode-tests.el: New file with unit tests.
doc/lispref/modes.texi
lisp/emacs-lisp/easy-mmode.el
test/lisp/emacs-lisp/easy-mmode-tests.el [new file with mode: 0644]