]> 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>
Wed, 26 Oct 2016 21:31:41 +0000 (23:31 +0200)
commit3a1331bf7de103a01368693406dff482e7d770a1
treedc4f2e8ffa6a96e7c20d572fe671dc44da93b5e9
parent4e45b55a9566189af6e40449954504ea7c47fa90
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]