mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Optionally add argument description in minor mode DOC (bug#10754)
Add a paragraph to minor mode's docstring documenting the mode's ARG usage if the supplied docstring doesn't already contain the word "ARG". * easy-mmode.el (easy-mmode--arg-docstring): New const. (easy-mmode--arg-docstring): New function. (define-minor-mode): Use them. Remove argument documentation from all minor modes.
This commit is contained in:
parent
fd5bf49139
commit
ee3e432300
134 changed files with 136 additions and 619 deletions
|
|
@ -941,9 +941,6 @@ Return non-nil if we skipped over matched tags."
|
|||
|
||||
(define-minor-mode sgml-electric-tag-pair-mode
|
||||
"Toggle SGML Electric Tag Pair mode.
|
||||
With a prefix argument ARG, enable the mode if ARG is positive,
|
||||
and disable it otherwise. If called from Lisp, enable the mode
|
||||
if ARG is omitted or nil.
|
||||
|
||||
SGML Electric Tag Pair mode is a buffer-local minor mode for use
|
||||
with `sgml-mode' and related major modes. When enabled, editing
|
||||
|
|
@ -2379,9 +2376,6 @@ The third `match-string' will be the used in the menu.")
|
|||
|
||||
(define-minor-mode html-autoview-mode
|
||||
"Toggle viewing of HTML files on save (HTML Autoview mode).
|
||||
With a prefix argument ARG, enable HTML Autoview mode if ARG is
|
||||
positive, and disable it otherwise. If called from Lisp, enable
|
||||
the mode if ARG is omitted or nil.
|
||||
|
||||
HTML Autoview mode is a buffer-local minor mode for use with
|
||||
`html-mode'. If enabled, saving the file automatically runs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue