about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2007-12-31 23:14:17 +0000
committerBart Schaefer <barts@users.sourceforge.net>2007-12-31 23:14:17 +0000
commit15e8fe245d62798b4e21059b101231982532546b (patch)
tree8b6cf400264ad0891e1bbbc1da10603c0cea2d84 /Src
parent66742c60451a1741688245d682471611f33372a5 (diff)
downloadzsh-15e8fe245d62798b4e21059b101231982532546b.tar.gz
zsh-15e8fe245d62798b4e21059b101231982532546b.tar.xz
zsh-15e8fe245d62798b4e21059b101231982532546b.zip
24324: do not set ftim when re-entering the history mechanism for string
substitution.
Diffstat (limited to 'Src')
-rw-r--r--Src/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c
index d4f3fc454..05fc6e003 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -826,7 +826,7 @@ hbegin(int dohist)
     }
     chwordpos = 0;
 
-    if (hist_ring && !hist_ring->ftim)
+    if (hist_ring && !hist_ring->ftim && !strin)
 	hist_ring->ftim = time(NULL);
     if ((dohist == 2 || (interact && isset(SHINSTDIN))) && !strin) {
 	histactive = HA_ACTIVE;