Variable: paragraph-indent-minor-mode
paragraph-indent-minor-mode is a buffer-local variable defined in
text-mode.el.gz.
Documentation
Non-nil if Paragraph-Indent minor mode is enabled.
Use the command paragraph-indent-minor-mode(var)/paragraph-indent-minor-mode(fun) to change this
variable.
Probably introduced at or before Emacs version 21.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/text-mode.el.gz
(define-minor-mode paragraph-indent-minor-mode
"Minor mode for editing text, with leading spaces starting a paragraph.
In this mode, you do not need blank lines between paragraphs when the
first line of the following paragraph starts with whitespace, as with
`paragraph-indent-text-mode'.
Turning on Paragraph-Indent minor mode runs the normal hook
`paragraph-indent-text-mode-hook'."
:initial-value nil
;; Change the definition of a paragraph start.
(let ((ps-re "[ \t\n\f]\\|"))
(if (string-prefix-p ps-re paragraph-start)
(if (not paragraph-indent-minor-mode)
(setq-local paragraph-start
(substring paragraph-start (length ps-re))))
(if paragraph-indent-minor-mode
(setq-local paragraph-start (concat ps-re paragraph-start)))))
;; Change the indentation function.
(if paragraph-indent-minor-mode
(add-function :override (local 'indent-line-function)
#'indent-to-left-margin)
(remove-function (local 'indent-line-function)
#'indent-to-left-margin)))