From 34c4e565d0162dbb4cbe3e94332c6d07637732e1 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 15 Oct 2001 18:42:52 +0000 Subject: Fix HIST_NO_SPACE when INTERACTIVE_COMMENTS is set and we get a comment. --- Src/hist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/hist.c b/Src/hist.c index 6ce3651dc..4dacdd337 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -971,14 +971,14 @@ prepnexthistent(void) static int should_ignore_line(Eprog prog) { - if (!prog) - return 0; - if (isset(HISTIGNORESPACE)) { if (*chline == ' ' || aliasspaceflag) return 1; } + if (!prog) + return 0; + if (isset(HISTNOFUNCTIONS)) { Wordcode pc = prog->prog; wordcode code = *pc; -- cgit 1.4.1