aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2019-05-05 22:27:33 +0300
committerJuri Linkov2019-05-05 22:27:33 +0300
commitdf9b56ecff43b64f39e98ab118fe9a0f299882c4 (patch)
treea7689e9ea9e4470facb5e815e71dd24dd14c92a2 /doc
parent81487bf89122ef0f369690e421740d38dbc17e23 (diff)
downloademacs-df9b56ecff43b64f39e98ab118fe9a0f299882c4.tar.gz
emacs-df9b56ecff43b64f39e98ab118fe9a0f299882c4.zip
Rename shell-command-width to async-shell-command-width (bug#35055)
* lisp/simple.el (async-shell-command-width): * lisp/net/tramp.el (tramp-handle-shell-command): * test/lisp/net/tramp-tests.el (tramp-test32-shell-command): * doc/misc/tramp.texi (Remote processes): Rename this variable. * doc/emacs/misc.texi (Single Shell): Add async-shell-command-width.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/misc.texi7
-rw-r--r--doc/misc/tramp.texi4
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 7d7065a441a..5f743927367 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -775,6 +775,13 @@ documentation for more possibilities.
775displayed only when the command generates output, set 775displayed only when the command generates output, set
776@code{async-shell-command-display-buffer} to @code{nil}. 776@code{async-shell-command-display-buffer} to @code{nil}.
777 777
778@vindex async-shell-command-width
779 The option @code{async-shell-command-width} defines the number of display
780columns available for output of asynchronous shell commands.
781A positive integer tells the shell to use that number of columns for
782command output. The default value is @code{nil} that means to use
783the same number of columns as provided by the shell.
784
778@kindex M-| 785@kindex M-|
779@findex shell-command-on-region 786@findex shell-command-on-region
780 @kbd{M-|} (@code{shell-command-on-region}) is like @kbd{M-!}, but 787 @kbd{M-|} (@code{shell-command-on-region}) is like @kbd{M-!}, but
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 0c51f15fbb9..2eb5b45eb2a 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3093,9 +3093,9 @@ uses @file{/system/bin/sh}). Like the variables in the previous
3093section, these variables can be changed via connection-local 3093section, these variables can be changed via connection-local
3094variables. 3094variables.
3095 3095
3096@vindex shell-command-width 3096@vindex async-shell-command-width
3097@vindex COLUMNS@r{, environment variable} 3097@vindex COLUMNS@r{, environment variable}
3098If Emacs supports the variable @code{shell-command-width} (since Emacs 3098If Emacs supports the variable @code{async-shell-command-width} (since Emacs
309927.1), @value{tramp} cares about its value for asynchronous shell 309927.1), @value{tramp} cares about its value for asynchronous shell
3100commands. It specifies the number of display columns for command 3100commands. It specifies the number of display columns for command
3101output. For synchronous shell commands, a similar effect can be 3101output. For synchronous shell commands, a similar effect can be