emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r108523: src/dispnew.c (showing_windo


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108523: src/dispnew.c (showing_window_margins_p): Wrap in #if 0.
Date: Fri, 08 Jun 2012 14:19:28 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108523
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2012-06-08 14:19:28 +0200
message:
  src/dispnew.c (showing_window_margins_p): Wrap in #if 0.
modified:
  src/ChangeLog
  src/dispnew.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-08 09:58:43 +0000
+++ b/src/ChangeLog     2012-06-08 12:19:28 +0000
@@ -1,3 +1,8 @@
+2012-06-08  Juanma Barranquero  <address@hidden>
+
+       * dispnew.c (showing_window_margins_p): Wrap in #if 0 to prevent unused
+       function warning (the only call is inside #if 0 since revno:108521).
+
 2012-06-08  Eli Zaretskii  <address@hidden>
 
        * alloc.c (allocate_vectorlike): Fix last change.

=== modified file 'src/dispnew.c'
--- a/src/dispnew.c     2012-06-08 08:44:45 +0000
+++ b/src/dispnew.c     2012-06-08 12:19:28 +0000
@@ -1962,6 +1962,7 @@
 
 /* Return 1 if any window in the tree has nonzero window margins.  See
    the hack at the end of adjust_frame_glyphs_for_frame_redisplay.  */
+#if 0
 static int
 showing_window_margins_p (struct window *w)
 {
@@ -1985,6 +1986,7 @@
     }
   return 0;
 }
+#endif
 
 
 /* In the window tree with root W, build current matrices of leaf


reply via email to

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