[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/print.c,v
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/src/print.c,v |
Date: |
Thu, 14 Sep 2006 13:11:47 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Andreas Schwab <schwab> 06/09/14 13:11:47
Index: print.c
===================================================================
RCS file: /sources/emacs/emacs/src/print.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -b -r1.228 -r1.229
--- print.c 13 Sep 2006 15:15:54 -0000 1.228
+++ print.c 14 Sep 2006 13:11:46 -0000 1.229
@@ -216,7 +216,7 @@
if (MARKERP (printcharfun)) \
{ \
EMACS_INT marker_pos; \
- if (!(XMARKER (printcharfun)->buffer)) \
+ if (! XMARKER (printcharfun)->buffer) \
error ("Marker does not point anywhere"); \
if (XMARKER (printcharfun)->buffer != current_buffer) \
set_buffer_internal (XMARKER (printcharfun)->buffer); \
@@ -956,7 +956,7 @@
print_output_debug_flag = x;
}
-#if defined(GNU_LINUX)
+#if defined (GNU_LINUX)
/* This functionality is not vitally important in general, so we rely on
non-portable ability to use stderr as lvalue. */
@@ -976,7 +976,7 @@
Lisp_Object file, append;
{
if (initial_stderr_stream != NULL)
- fclose(stderr);
+ fclose (stderr);
stderr = initial_stderr_stream;
initial_stderr_stream = NULL;
@@ -984,7 +984,7 @@
{
file = Fexpand_file_name (file, Qnil);
initial_stderr_stream = stderr;
- stderr = fopen(SDATA (file), NILP (append) ? "w" : "a");
+ stderr = fopen (SDATA (file), NILP (append) ? "w" : "a");
if (stderr == NULL)
{
stderr = initial_stderr_stream;
@@ -2052,7 +2052,7 @@
/* Do you think this is necessary? */
if (XMARKER (obj)->insertion_type != 0)
strout ("(moves after insertion) ", -1, -1, printcharfun, 0);
- if (!(XMARKER (obj)->buffer))
+ if (! XMARKER (obj)->buffer)
strout ("in no buffer", -1, -1, printcharfun, 0);
else
{
@@ -2066,7 +2066,7 @@
case Lisp_Misc_Overlay:
strout ("#<overlay ", -1, -1, printcharfun, 0);
- if (!(XMARKER (OVERLAY_START (obj))->buffer))
+ if (! XMARKER (OVERLAY_START (obj))->buffer)
strout ("in no buffer", -1, -1, printcharfun, 0);
else
{
@@ -2113,7 +2113,7 @@
case Lisp_Misc_Kboard_Objfwd:
strout ("#<kboard_objfwd to ", -1, -1, printcharfun, 0);
- print_object (*(Lisp_Object *)((char *) current_kboard
+ print_object (*(Lisp_Object *) ((char *) current_kboard
+ XKBOARD_OBJFWD (obj)->offset),
printcharfun, escapeflag);
PRINTCHAR ('>');