]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949)
authorEli Zaretskii <eliz@gnu.org>
Tue, 2 Jan 2018 19:34:58 +0000 (21:34 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 2 Jan 2018 19:34:58 +0000 (21:34 +0200)
lisp/textmodes/picture.el

index f5a6a254a0db040c75593a95d9d964697abb3473..6836fd09a075f847db81b7599fab123889e8609d 100644 (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))