summary refs log tree commit diff
diff options
context:
space:
mode:
-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