about summary refs log tree commit diff
path: root/Functions/Misc/zcalc
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-04-07 07:21:21 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-04-07 07:21:21 -0700
commit141089231c9731811939d6ce24888fc95693eb6e (patch)
tree376d6a022648790ae06fec23c1c2877e6fa9b1b7 /Functions/Misc/zcalc
parent2be3ff58e234456348765e435ef3185ff9d43a1c (diff)
parent08d4a6136e5c289d1be6d6290568866c2d59ef53 (diff)
downloadzsh-141089231c9731811939d6ce24888fc95693eb6e.tar.gz
zsh-141089231c9731811939d6ce24888fc95693eb6e.tar.xz
zsh-141089231c9731811939d6ce24888fc95693eb6e.zip
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
Diffstat (limited to 'Functions/Misc/zcalc')
-rw-r--r--Functions/Misc/zcalc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc
index b79644687..63f67adb0 100644
--- a/Functions/Misc/zcalc
+++ b/Functions/Misc/zcalc
@@ -96,6 +96,9 @@
 emulate -L zsh
 setopt extendedglob
 
+# For testing in ZLE functions.
+local ZCALC_ACTIVE=1
+
 # TODO: make local variables that shouldn't be visible in expressions
 # begin with _.
 local line ans base defbase forms match mbegin mend psvar optlist opt arg