Mercurial > emacs
diff src/print.c @ 28316:869387703a36
(print_object): Use new macros for per-buffer
variables.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 26 Mar 2000 14:08:22 +0000 |
parents | 9400865ec7cf |
children | e3d57f7fba49 |
line wrap: on
line diff
--- a/src/print.c Sun Mar 26 14:07:56 2000 +0000 +++ b/src/print.c Sun Mar 26 14:08:22 2000 +0000 @@ -1772,9 +1772,9 @@ case Lisp_Misc_Buffer_Objfwd: strout ("#<buffer_objfwd to ", -1, -1, printcharfun, 0); - print_object (*(Lisp_Object *)((char *)current_buffer - + XBUFFER_OBJFWD (obj)->offset), - printcharfun, escapeflag); + print_object (BUFFER_LOCAL_VALUE (current_buffer, + XBUFFER_OBJFWD (obj)->offset), + printcharfun, escapeflag); PRINTCHAR ('>'); break; @@ -1782,7 +1782,7 @@ strout ("#<kboard_objfwd to ", -1, -1, printcharfun, 0); print_object (*(Lisp_Object *)((char *) current_kboard + XKBOARD_OBJFWD (obj)->offset), - printcharfun, escapeflag); + printcharfun, escapeflag); PRINTCHAR ('>'); break;