diff options
| author | Juanma Barranquero | 2012-06-08 14:19:28 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-06-08 14:19:28 +0200 |
| commit | d4a8f5c1bd2034a964b3b34ed1eb9cc1c40911e7 (patch) | |
| tree | 4fe8b0ccf2974e76d66596cc1b8d6649425f5545 /src | |
| parent | 8bbbc977a78162c24462d49b76fbf012ca8e7c6d (diff) | |
| download | emacs-d4a8f5c1bd2034a964b3b34ed1eb9cc1c40911e7.tar.gz emacs-d4a8f5c1bd2034a964b3b34ed1eb9cc1c40911e7.zip | |
src/dispnew.c (showing_window_margins_p): Wrap in #if 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/dispnew.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8bc7d6d24a4..ff9664d208f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-06-08 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * dispnew.c (showing_window_margins_p): Wrap in #if 0 to prevent unused | ||
| 4 | function warning (the only call is inside #if 0 since 2012-06-08T08:44:45Z!eliz@gnu.org). | ||
| 5 | |||
| 1 | 2012-06-08 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-06-08 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * alloc.c (allocate_vectorlike): Fix last change. | 8 | * alloc.c (allocate_vectorlike): Fix last change. |
diff --git a/src/dispnew.c b/src/dispnew.c index 5cf6d581790..fa9154bb6cc 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1962,6 +1962,7 @@ adjust_frame_glyphs (struct frame *f) | |||
| 1962 | 1962 | ||
| 1963 | /* Return 1 if any window in the tree has nonzero window margins. See | 1963 | /* Return 1 if any window in the tree has nonzero window margins. See |
| 1964 | the hack at the end of adjust_frame_glyphs_for_frame_redisplay. */ | 1964 | the hack at the end of adjust_frame_glyphs_for_frame_redisplay. */ |
| 1965 | #if 0 | ||
| 1965 | static int | 1966 | static int |
| 1966 | showing_window_margins_p (struct window *w) | 1967 | showing_window_margins_p (struct window *w) |
| 1967 | { | 1968 | { |
| @@ -1985,6 +1986,7 @@ showing_window_margins_p (struct window *w) | |||
| 1985 | } | 1986 | } |
| 1986 | return 0; | 1987 | return 0; |
| 1987 | } | 1988 | } |
| 1989 | #endif | ||
| 1988 | 1990 | ||
| 1989 | 1991 | ||
| 1990 | /* In the window tree with root W, build current matrices of leaf | 1992 | /* In the window tree with root W, build current matrices of leaf |