* lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949)

This commit is contained in:
Eli Zaretskii 2018-01-02 21:34:58 +02:00
parent ed44d92fa6
commit ab31bf3c5f

View file

@ -789,8 +789,9 @@ they are not by default assigned to keys."
(defun picture-mode-exit (&optional nostrip)
"Undo `picture-mode' and return to previous major mode.
With no argument, strip whitespace from end of every line in Picture buffer;
otherwise, just return to previous mode.
With NOSTRIP omitted or nil, strip whitespace from end of every line
in Picture buffer; otherwise, just return to previous mode.
Interactively, NOSTRIP is the prefix argument, and defaults to nil.
Runs `picture-mode-exit-hook' at the end."
(interactive "P")
(if (not (eq major-mode 'picture-mode))