From: Eli Zaretskii Date: Sun, 14 Apr 2019 14:50:12 +0000 (+0300) Subject: Improve documentation of a recent commit X-Git-Tag: emacs-27.0.90~3259^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29b36a007ae04839a4c29c62b2b1ee7940a8539a;p=emacs.git Improve documentation of a recent commit * etc/NEWS: Fix the description of 'shell-command-width'. Mark the entry as not needing the manual update. * lisp/simple.el (shell-command-width): Doc fix. (Bug#35055) --- diff --git a/etc/NEWS b/etc/NEWS index d34fb3bb12a..2421b781527 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1066,8 +1066,9 @@ variable for remote shells. It still defaults to "/bin/sh". ** Single shell commands -*** 'shell-command-width' defines the number of output columns -for asynchronous shell command. +--- +*** 'shell-command-width' defines the number of display columns +available for output of asynchronous shell commands. ** Pcomplete diff --git a/lisp/simple.el b/lisp/simple.el index 017ba510007..8647d0985f5 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3352,9 +3352,10 @@ is output." :version "26.1") (defcustom shell-command-width nil - "Number of columns available for asynchronous shell command output. + "Number of display columns available for asynchronous shell command output. If nil, use the shell default number (usually 80 columns). -If a positive integer, use a fixed width for command output." +If a positive integer, tell the shell to use that number of columns for +command output." :type '(choice (const :tag "Use system limit" nil) (integer :tag "Fixed width" :value 80)) :group 'shell