diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c index 1961d8350..c58ce8b34 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -928,7 +928,7 @@ hbegin(int dohist) histactive = HA_ACTIVE | HA_NOINC; hf = getsparam("HISTFILE"); - if (isset(INCAPPENDHISTORY)) + if (isset(INCAPPENDHISTORY) && !(histactive & HA_NOINC) && !strin) savehistfile(hf, 0, HFILE_USE_OPTIONS | HFILE_FAST); } |