diff options
| author | Richard M. Stallman | 1998-03-12 05:48:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-03-12 05:48:33 +0000 |
| commit | 0315377157bb94d1c0ed0d1a365576228c0243ee (patch) | |
| tree | 7742b22f249f12f8b5cd12c13e1381a6dffe6c33 /src | |
| parent | 3d871c85aa70640fb8a0e78dda4d779c1ba105db (diff) | |
| download | emacs-0315377157bb94d1c0ed0d1a365576228c0243ee.tar.gz emacs-0315377157bb94d1c0ed0d1a365576228c0243ee.zip | |
(print): Handle new data structure
for struct Lisp_Buffer_Local_Value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/print.c b/src/print.c index 6760af3298f..9484b927970 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1616,15 +1616,27 @@ print (obj, printcharfun, escapeflag) | |||
| 1616 | strout ("#<some_buffer_local_value ", -1, -1, printcharfun, 0); | 1616 | strout ("#<some_buffer_local_value ", -1, -1, printcharfun, 0); |
| 1617 | do_buffer_local: | 1617 | do_buffer_local: |
| 1618 | strout ("[realvalue] ", -1, -1, printcharfun, 0); | 1618 | strout ("[realvalue] ", -1, -1, printcharfun, 0); |
| 1619 | print (XBUFFER_LOCAL_VALUE (obj)->car, printcharfun, escapeflag); | 1619 | print (XBUFFER_LOCAL_VALUE (obj)->realvalue, printcharfun, escapeflag); |
| 1620 | strout ("[buffer] ", -1, -1, printcharfun, 0); | 1620 | if (XBUFFER_LOCAL_VALUE (obj)->found_for_buffer) |
| 1621 | print (XCONS (XBUFFER_LOCAL_VALUE (obj)->cdr)->car, | 1621 | strout ("[local in buffer] ", -1, -1, printcharfun, 0); |
| 1622 | else | ||
| 1623 | strout ("[buffer] ", -1, -1, printcharfun, 0); | ||
| 1624 | print (XBUFFER_LOCAL_VALUE (obj)->buffer, | ||
| 1622 | printcharfun, escapeflag); | 1625 | printcharfun, escapeflag); |
| 1626 | if (XBUFFER_LOCAL_VALUE (obj)->check_frame) | ||
| 1627 | { | ||
| 1628 | if (XBUFFER_LOCAL_VALUE (obj)->found_for_frame) | ||
| 1629 | strout ("[local in frame] ", -1, -1, printcharfun, 0); | ||
| 1630 | else | ||
| 1631 | strout ("[frame] ", -1, -1, printcharfun, 0); | ||
| 1632 | print (XBUFFER_LOCAL_VALUE (obj)->frame, | ||
| 1633 | printcharfun, escapeflag); | ||
| 1634 | } | ||
| 1623 | strout ("[alist-elt] ", -1, -1, printcharfun, 0); | 1635 | strout ("[alist-elt] ", -1, -1, printcharfun, 0); |
| 1624 | print (XCONS (XCONS (XBUFFER_LOCAL_VALUE (obj)->cdr)->cdr)->car, | 1636 | print (XCONS (XBUFFER_LOCAL_VALUE (obj)->cdr)->car, |
| 1625 | printcharfun, escapeflag); | 1637 | printcharfun, escapeflag); |
| 1626 | strout ("[default-value] ", -1, -1, printcharfun, 0); | 1638 | strout ("[default-value] ", -1, -1, printcharfun, 0); |
| 1627 | print (XCONS (XCONS (XBUFFER_LOCAL_VALUE (obj)->cdr)->cdr)->cdr, | 1639 | print (XCONS (XBUFFER_LOCAL_VALUE (obj)->cdr)->cdr, |
| 1628 | printcharfun, escapeflag); | 1640 | printcharfun, escapeflag); |
| 1629 | PRINTCHAR ('>'); | 1641 | PRINTCHAR ('>'); |
| 1630 | break; | 1642 | break; |