From e33411990e1353e5d39379adb56e325ab92ce28c Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Tue, 11 Nov 2014 19:51:05 +0000
Subject: AUTO_CD behaviour depends on SHIN_STDIN, document
---
ChangeLog | 4 ++++
Doc/Zsh/options.yo | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 495a6f9c5..64d0820be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-11 Peter Stephenson
+
+ * 33658: Doc/Zsh/options.yo: AUTO_CD depends on SHIN_STDIN.
+
2014-11-09 Oliver Kiddle
* 33599: Jun T.: Test/comptest: workaround zpty issue that
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index b9f78bfa3..076aaf44f 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -63,6 +63,10 @@ item(tt(AUTO_CD) (tt(-J)))(
If a command is issued that can't be executed as a normal command,
and the command is the name of a directory, perform the tt(cd)
command to that directory.
+This option is only applicable if the option tt(SHIN_STDIN) is set,
+i.e. if commands are being read from standard input. The option
+is designed for interactive use; it is recommended that tt(cd)
+be used explicitly in scripts to avoid ambiguity.
)
pindex(AUTO_PUSHD)
pindex(NO_AUTO_PUSHD)
--
cgit 1.4.1