Remove duplicate Lisp definitions of define-minor-mode variables defined in C.
commit9d7940260552d9ad5f331443aae200094ae2847c
authorGlenn Morris <rgm@gnu.org>
Fri, 29 Oct 2010 03:29:29 +0000 (28 20:29 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 29 Oct 2010 03:29:29 +0000 (28 20:29 -0700)
treef7c3cf42cbf6a057ba2918f03b91e15da25c8b19
parentdcc029e017acab959291f9d938234240ac3cea32
Remove duplicate Lisp definitions of define-minor-mode variables defined in C.

* lisp/abbrev.el (abbrev-mode):
* lisp/composite.el (auto-composition-mode):
* lisp/menu-bar.el (menu-bar-mode):
* lisp/simple.el (transient-mark-mode):
* lisp/tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
that they do not define the associated variables twice.
* lisp/simple.el (transient-mark-mode): Remove defvar.
* lisp/composite.el (auto-composition-mode): Make variable auto-buffer-local.
* lisp/cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
Handle multiple groups, and also custom-delayed-init-variables.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.

* src/buffer.c (syms_of_buffer) <abbrev-mode, transient-mark-mode>:
* src/frame.c (syms_of_frame) <tool-bar-mode>: Move docs here from Lisp.
lisp/ChangeLog
lisp/abbrev.el
lisp/composite.el
lisp/cus-start.el
lisp/emacs-lisp/easy-mmode.el
lisp/menu-bar.el
lisp/simple.el
lisp/tool-bar.el
src/ChangeLog
src/buffer.c
src/frame.c