1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-05 20:51:12 +02:00

Applied the interactive-comment fix for HIST_IGNORE_SPACE.

This commit is contained in:
Wayne Davison 2001-10-22 15:34:28 +00:00
parent 4b76c491c9
commit b2e03d7ba5

View file

@ -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;