[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114443: * xdisp.c (noninteractive_need_newline, mes
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r114443: * xdisp.c (noninteractive_need_newline, message_log_need_newline) |
Date: |
Mon, 23 Sep 2013 13:26:13 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114443
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2013-09-23 17:25:19 +0400
message:
* xdisp.c (noninteractive_need_newline, message_log_need_newline)
(overlay_arrow_seen, message_enable_multibyte, line_number_displayed)
(display_last_displayed_message_p, message_buf_print)
(message_cleared_p, help_echo_showing_p, hourglass_shown_p):
Use bool for boolean.
* dispextern.h (help_echo_showing_p, hourglass_shown_p):
* lisp.h (noninteractive_need_newline): Adjust declaration.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/dispextern.h
dispextern.h-20091113204419-o5vbwnq5f7feedwu-218
src/lisp.h lisp.h-20091113204419-o5vbwnq5f7feedwu-253
src/xdisp.c xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-09-23 09:50:47 +0000
+++ b/src/ChangeLog 2013-09-23 13:25:19 +0000
@@ -1,5 +1,15 @@
2013-09-23 Dmitry Antipov <address@hidden>
+ * xdisp.c (noninteractive_need_newline, message_log_need_newline)
+ (overlay_arrow_seen, message_enable_multibyte, line_number_displayed)
+ (display_last_displayed_message_p, message_buf_print)
+ (message_cleared_p, help_echo_showing_p, hourglass_shown_p):
+ Use bool for boolean.
+ * dispextern.h (help_echo_showing_p, hourglass_shown_p):
+ * lisp.h (noninteractive_need_newline): Adjust declaration.
+
+2013-09-23 Dmitry Antipov <address@hidden>
+
* dispnew.c (frame_garbaged, selected_frame, last_nonminibuf_frame):
Move to...
* frame.c (frame_garbaged, selected_frame, last_nonminibuf_frame):
=== modified file 'src/dispextern.h'
--- a/src/dispextern.h 2013-09-20 15:34:36 +0000
+++ b/src/dispextern.h 2013-09-23 13:25:19 +0000
@@ -3187,7 +3187,7 @@
int frame_mode_line_height (struct frame *);
extern Lisp_Object Qtool_bar;
extern bool redisplaying_p;
-extern int help_echo_showing_p;
+extern bool help_echo_showing_p;
extern Lisp_Object help_echo_string, help_echo_window;
extern Lisp_Object help_echo_object, previous_help_echo_string;
extern ptrdiff_t help_echo_pos;
@@ -3389,7 +3389,7 @@
extern void start_hourglass (void);
extern void cancel_hourglass (void);
-extern int hourglass_shown_p;
+extern bool hourglass_shown_p;
/* If non-null, an asynchronous timer that, when it expires, displays
an hourglass cursor on all frames. */
extern struct atimer *hourglass_atimer;
=== modified file 'src/lisp.h'
--- a/src/lisp.h 2013-09-23 09:50:47 +0000
+++ b/src/lisp.h 2013-09-23 13:25:19 +0000
@@ -3378,7 +3378,7 @@
extern Lisp_Object QCdata, QCfile;
extern Lisp_Object QCmap;
extern Lisp_Object Qrisky_local_variable;
-extern int noninteractive_need_newline;
+extern bool noninteractive_need_newline;
extern Lisp_Object echo_area_buffer[2];
extern void add_to_log (const char *, Lisp_Object, Lisp_Object);
extern void check_message_stack (void);
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2013-09-23 09:28:57 +0000
+++ b/src/xdisp.c 2013-09-23 13:25:19 +0000
@@ -415,11 +415,11 @@
/* Non-zero means print newline to stdout before next mini-buffer
message. */
-int noninteractive_need_newline;
+bool noninteractive_need_newline;
/* Non-zero means print newline to message log before next message. */
-static int message_log_need_newline;
+static bool message_log_need_newline;
/* Three markers that message_dolog uses.
It could allocate them itself, but that causes trouble
@@ -478,7 +478,7 @@
/* Nonzero if an overlay arrow has been displayed in this window. */
-static int overlay_arrow_seen;
+static bool overlay_arrow_seen;
/* Vector containing glyphs for an ellipsis `...'. */
@@ -500,7 +500,7 @@
/* Nonzero means multibyte characters were enabled when the echo area
message was specified. */
-static int message_enable_multibyte;
+static bool message_enable_multibyte;
/* Nonzero if we should redraw the mode lines on the next redisplay. */
@@ -514,7 +514,7 @@
/* Nonzero after display_mode_line if %l was used and it displayed a
line number. */
-static int line_number_displayed;
+static bool line_number_displayed;
/* The name of the *Messages* buffer, a string. */
@@ -536,12 +536,12 @@
/* Non-zero means display_echo_area should display the last echo area
message again. Set by redisplay_preserve_echo_area. */
-static int display_last_displayed_message_p;
+static bool display_last_displayed_message_p;
/* Nonzero if echo area is being used by print; zero if being used by
message. */
-static int message_buf_print;
+static bool message_buf_print;
/* The symbol `inhibit-menubar-update' and its DEFVAR_BOOL variable. */
@@ -551,7 +551,7 @@
/* Set to 1 in clear_message to make redisplay_internal aware
of an emptied echo area. */
-static int message_cleared_p;
+static bool message_cleared_p;
/* A scratch glyph row with contents used for generating truncation
glyphs. Also used in direct_output_for_insert. */
@@ -566,7 +566,7 @@
/* Non-zero if there's a help-echo in the echo area. */
-int help_echo_showing_p;
+bool help_echo_showing_p;
/* The maximum distance to look ahead for text properties. Values
that are too small let us call compute_char_face and similar
@@ -742,7 +742,7 @@
#ifdef HAVE_WINDOW_SYSTEM
/* Non-zero means an hourglass cursor is currently shown. */
-int hourglass_shown_p;
+bool hourglass_shown_p;
/* If non-null, an asynchronous timer that, when it expires, displays
an hourglass cursor on all frames. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114443: * xdisp.c (noninteractive_need_newline, message_log_need_newline),
Dmitry Antipov <=