]> git.eshelyaron.com Git - emacs.git/commit
* lisp/**/*.el: Avoid positional args to `define-minor-mode`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Apr 2021 03:47:14 +0000 (23:47 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Apr 2021 03:47:14 +0000 (23:47 -0400)
commitc45bfd3c4abbfa585c9199f4866b6b8046945117
tree7371c5c86ce4e77aed97b842fe0017e5eee512a5
parentccfd6a975e377db6f0ebb9ad6eb0798cff169ce9
* lisp/**/*.el: Avoid positional args to `define-minor-mode`

Back in Emacs-21.1, `define-minor-mode` grew keywords arguments to
replace its old positional arguments.  Let's make sure we don't use
the old-style any more.

* lisp/org/ox-beamer.el (org-beamer-mode-map): Move initialization
into declaration.
(org-beamer-mode):
* lisp/textmodes/tildify.el (tildify-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/remember.el (remember-notes-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/strokes.el (strokes-mode):
* lisp/so-long.el (so-long-minor-mode):
* lisp/shell.el (shell-dirtrack-mode):
* lisp/scroll-all.el (scroll-all-mode):
* lisp/ruler-mode.el (ruler-mode):
* lisp/rect.el (rectangle-mark-mode):
* lisp/progmodes/sh-script.el (sh-electric-here-document-mode):
* lisp/outline.el (outline-minor-mode):
* lisp/org/org.el (org-cdlatex-mode):
* lisp/org/org-table.el (org-table-header-line-mode)
(org-table-follow-field-mode, orgtbl-mode):
* lisp/org/org-src.el (org-src-mode):
* lisp/org/org-list.el (org-list-checkbox-radio-mode):
* lisp/org/org-indent.el (org-indent-mode):
* lisp/org/org-capture.el (org-capture-mode):
* lisp/obsolete/pc-select.el (pc-selection-mode):
* lisp/obsolete/iswitchb.el (iswitchb-mode):
* lisp/net/rcirc.el (rcirc-omit-mode, rcirc-multiline-minor-mode)
(rcirc-track-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode, goto-address-prog-mode):
* lisp/image-mode.el (image-minor-mode):
* lisp/ibuf-ext.el (ibuffer-auto-mode):
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode):
* lisp/font-core.el (font-lock-mode):
* lisp/erc/erc.el (define-erc-module):
* lisp/erc/erc-track.el (erc-track-minor-mode):
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/epa-mail.el (epa-mail-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode):
* lisp/dirtrack.el (dirtrack-mode, dirtrack-debug-mode):
* lisp/dired-aux.el (dired-isearch-filenames-mode):
* lisp/cedet/semantic/idle.el (semantic-idle-scheduler-mode):
* lisp/cedet/semantic/decorate/mode.el (semantic-decoration-mode):
* lisp/autoarg.el (autoarg-mode, autoarg-kp-mode):
* lisp/vc/pcvs.el (cvs-minor-mode):
Avoid old-style positional args to `define-minor-mode`.
41 files changed:
lisp/autoarg.el
lisp/cedet/semantic/decorate/mode.el
lisp/cedet/semantic/idle.el
lisp/dired-aux.el
lisp/dirtrack.el
lisp/emacs-lisp/checkdoc.el
lisp/emacs-lisp/macroexp.el
lisp/epa-mail.el
lisp/erc/erc-fill.el
lisp/erc/erc-track.el
lisp/erc/erc.el
lisp/font-core.el
lisp/gnus/gnus-cite.el
lisp/ibuf-ext.el
lisp/image-mode.el
lisp/net/goto-addr.el
lisp/net/rcirc.el
lisp/obsolete/iswitchb.el
lisp/obsolete/pc-select.el
lisp/org/org-capture.el
lisp/org/org-indent.el
lisp/org/org-list.el
lisp/org/org-src.el
lisp/org/org-table.el
lisp/org/org.el
lisp/org/ox-beamer.el
lisp/outline.el
lisp/progmodes/sh-script.el
lisp/rect.el
lisp/ruler-mode.el
lisp/scroll-all.el
lisp/shell.el
lisp/so-long.el
lisp/strokes.el
lisp/tar-mode.el
lisp/textmodes/ispell.el
lisp/textmodes/remember.el
lisp/textmodes/rst.el
lisp/textmodes/sgml-mode.el
lisp/textmodes/tildify.el
lisp/vc/pcvs.el