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:
parent
4b76c491c9
commit
b2e03d7ba5
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue