From: Eli Zaretskii Date: Tue, 2 Jan 2018 19:34:58 +0000 (+0200) Subject: * lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949) X-Git-Tag: emacs-26.0.91~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab31bf3c5f207dbc209bac350262137f48db4037;p=emacs.git * lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949) --- diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index f5a6a254a0d..6836fd09a07 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el @@ -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))