From: Paul Eggert Date: Wed, 14 Aug 2013 07:05:54 +0000 (-0700) Subject: * xdisp.c (cursor_type_changed): Now static. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~256 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aab1fcdf812a7ebd32b8312c05ffcdd1bf610d2b;p=emacs.git * xdisp.c (cursor_type_changed): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index 30a3dc3462b..a120cf1b182 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2013-08-14 Paul Eggert + * xdisp.c (cursor_type_changed): Now static. + * image.c (imagemagick_filename_hint): New arg HINT_BUFFER. Use changed. This avoids the need to call xmalloc and for the caller to call xfree, and avoids memory leaks in some situations. diff --git a/src/window.h b/src/window.h index 585697f0805..c64641825e3 100644 --- a/src/window.h +++ b/src/window.h @@ -906,10 +906,6 @@ extern int update_mode_lines; extern int windows_or_buffers_changed; -/* Nonzero means a frame's cursor type has been changed. */ - -extern int cursor_type_changed; - /* If *ROWS or *COLS are too small a size for FRAME, set them to the minimum allowable size. */ diff --git a/src/xdisp.c b/src/xdisp.c index b8520e36344..82b528cdafd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -524,7 +524,7 @@ int windows_or_buffers_changed; /* Nonzero means a frame's cursor type has been changed. */ -int cursor_type_changed; +static int cursor_type_changed; /* Nonzero after display_mode_line if %l was used and it displayed a line number. */