mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-21 10:24:55 +00:00
Fix recent change in lread.c
* src/lread.c (openp): Avoid assertion violations in XCDR when PATH is nil. (Bug#31229)
This commit is contained in:
parent
3c6b59918a
commit
fa3136e071
@ -1772,7 +1772,7 @@ openp (Lisp_Object path, Lisp_Object str, Lisp_Object suffixes,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (absolute)
|
||||
if (absolute || NILP (path))
|
||||
break;
|
||||
path = XCDR (path);
|
||||
} while (CONSP (path));
|
||||
|
Loading…
Reference in New Issue
Block a user