Next: , Up: Documentation   [Index]


3.5.1 Writing Documentation Strings

Function: checkdoc-minor-mode &optional arg

Toggle automatic docstring checking (‘Checkdoc’ minor mode).

If called interactively, toggle ‘Checkdoc minor mode’. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

The mode’s hook is called both when the mode is enabled and when it is disabled.


Next: Emacs documentation-property Command, Up: Documentation   [Index]