about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-12-19 20:06:16 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-12-19 20:06:16 +0000
commit74f4e8f66340644f73ee4be56901a58029b47a76 (patch)
tree85b11da5668fc097b022f9e13ffe959d77a8f19b
parentf8585a7c21f6ac2692a608bc60ffc715489616c3 (diff)
downloadzsh-74f4e8f66340644f73ee4be56901a58029b47a76.tar.gz
zsh-74f4e8f66340644f73ee4be56901a58029b47a76.tar.xz
zsh-74f4e8f66340644f73ee4be56901a58029b47a76.zip
24298: Tonguc Yumruk: emulate -L consistency
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/is-at-least2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ad18b9b2..ef7889321 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-19  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use
+	emulate -L for consistency.
+
 2007-12-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 24289 plus change suggested by Ismail in 24290:
diff --git a/Functions/Misc/is-at-least b/Functions/Misc/is-at-least
index 6debe4c5a..d4b0e2fe0 100644
--- a/Functions/Misc/is-at-least
+++ b/Functions/Misc/is-at-least
@@ -14,7 +14,7 @@
 # is-at-least 586 $MACHTYPE && echo 'You could be running Mandrake!'
 # is-at-least $ZSH_VERSION || print 'Something fishy here.'
 
-emulate zsh ; setopt LOCAL_OPTIONS
+emulate -L zsh
 
 local IFS=".-" min_cnt=0 ver_cnt=0 part min_ver version