mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-02 13:26:03 +02:00
Fix HIST_NO_SPACE when INTERACTIVE_COMMENTS is set and we get a
comment.
This commit is contained in:
parent
577ebe0b8a
commit
34c4e565d0
|
@ -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 New Issue