about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-20 09:17:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-20 09:17:32 +0000
commit06bdda4fb8aa75dcb30c06e8309b89d7557a6931 (patch)
treedc21c6e0a882e2e492ee3695a5af6b17cac83f29
parent7e0ca714695bf22171c1b937899ee42d6afde376 (diff)
downloadzsh-06bdda4fb8aa75dcb30c06e8309b89d7557a6931.tar.gz
zsh-06bdda4fb8aa75dcb30c06e8309b89d7557a6931.tar.xz
zsh-06bdda4fb8aa75dcb30c06e8309b89d7557a6931.zip
27178: FAQ---quoting function names to stop expansion is always(ish) safe
-rw-r--r--ChangeLog6
-rw-r--r--Etc/FAQ.yo4
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index eaab74d22..16ff7d0ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2009-07-20  Peter Stephenson  <pws@csr.com>
 
-	* 27178: Etc/FAQ.yo: as pointed out by Mikael, quoting
-	function names to stop alias expansion is always safe.
+	* 27178, 27180: Etc/FAQ.yo: as pointed out by Mikael, quoting
+	function names to stop alias expansion is always(ish) safe.
 
 2009-07-19  Barton E. Schaefer  <schaefer@zsh.org>
 
@@ -12023,5 +12023,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4747 $
+* $Revision: 1.4748 $
 *****************************************************
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index a83dc252f..cac842eed 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -826,7 +826,9 @@ label(23)
   )
   Adding the quotes has no effect on the function definition, but
   suppresses alias expansion for the function name.  Hence this is
-  guaranteed to be safe.
+  guaranteed to be safe---unless you are in the habit of defining
+  aliases for expressions such as tt('l'), which is valid, but probably
+  confusing.
 
 sect(Similarities with tcsh)