emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103277: Fix the MS-DOS build due to


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103277: Fix the MS-DOS build due to introduction of B_.
Date: Mon, 14 Feb 2011 19:58:13 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103277
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2011-02-14 19:58:13 +0200
message:
  Fix the MS-DOS build due to introduction of B_.
  
   msdos.c (IT_frame_up_to_date):
   s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.
modified:
  src/ChangeLog
  src/msdos.c
  src/s/msdos.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-02-14 17:35:21 +0000
+++ b/src/ChangeLog     2011-02-14 17:58:13 +0000
@@ -1,5 +1,8 @@
 2011-02-14  Eli Zaretskii  <address@hidden>
 
+       * msdos.c (IT_frame_up_to_date): 
+       * s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.
+
        * dired.c (directory_files_internal):
        * fileio.c (Finsert_file_contents):
        * insdel.c (prepare_to_modify_buffer):

=== modified file 'src/msdos.c'
--- a/src/msdos.c       2011-01-26 08:36:39 +0000
+++ b/src/msdos.c       2011-02-14 17:58:13 +0000
@@ -1317,12 +1317,12 @@
     {
       struct buffer *b = XBUFFER (sw->buffer);
 
-      if (EQ (b->cursor_type, Qt))
+      if (EQ (B_ (b,cursor_type), Qt))
        new_cursor = frame_desired_cursor;
-      else if (NILP (b->cursor_type)) /* nil means no cursor */
+      else if (NILP (B_ (b, cursor_type))) /* nil means no cursor */
        new_cursor = Fcons (Qbar, make_number (0));
       else
-       new_cursor = b->cursor_type;
+       new_cursor = B_ (b, cursor_type);
     }
 
   IT_set_cursor_type (f, new_cursor);

=== modified file 'src/s/msdos.h'
--- a/src/s/msdos.h     2011-01-25 04:08:28 +0000
+++ b/src/s/msdos.h     2011-02-14 17:58:13 +0000
@@ -92,7 +92,7 @@
 
 
 /* Mode line description of a buffer's type.  */
-#define MODE_LINE_BINARY_TEXT(buf) (NILP(buf->buffer_file_type) ? "T" : "B")
+#define MODE_LINE_BINARY_TEXT(buf) (NILP(B_(buf,buffer_file_type)) ? "T" : "B")
 
 /* We have (the code to control) a mouse.  */
 #define HAVE_MOUSE


reply via email to

[Prev in Thread] Current Thread [Next in Thread]