mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-12 09:00:40 -08:00
; Fix printing Lisp types in .gdbinit
* src/alloc.c (valid_lisp_object_p): Support printing stack-allocated strings and cons cells.
This commit is contained in:
parent
7575c85efd
commit
1b9ca1e5e6
1 changed files with 2 additions and 1 deletions
|
|
@ -5275,7 +5275,8 @@ valid_lisp_object_p (Lisp_Object obj)
|
|||
if (valid <= 0)
|
||||
return valid;
|
||||
|
||||
if (SUBRP (obj))
|
||||
/* Strings and conses produced by AUTO_STRING etc. all get here. */
|
||||
if (SUBRP (obj) || STRINGP (obj) || CONSP (obj))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue