[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117264: * configure.ac (POLL_FOR_INPUT): Define wit
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r117264: * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM. |
Date: |
Thu, 05 Jun 2014 06:25:20 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117264
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Thu 2014-06-05 10:24:54 +0400
message:
* configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
* nt/inc/ms-w32.h (POLL_FOR_INPUT): Likewise.
* src/keyboard.c, src/process.c: Do not define POLL_FOR_INPUT here
because it will be defined in generated config.h if needed.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
configure.ac
configure.in-20091113204419-o5vbwnq5f7feedwu-783
nt/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1545
nt/inc/ms-w32.h msw32.h-20091113204419-o5vbwnq5f7feedwu-807
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/keyboard.c keyboard.c-20091113204419-o5vbwnq5f7feedwu-449
src/process.c process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-06-05 00:34:34 +0000
+++ b/ChangeLog 2014-06-05 06:24:54 +0000
@@ -1,3 +1,7 @@
+2014-06-05 Dmitry Antipov <address@hidden>
+
+ * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
+
2014-06-05 Paul Eggert <address@hidden>
* configure.ac: --without-all now implies --without-xft, --disable-acl.
=== modified file 'configure.ac'
--- a/configure.ac 2014-06-05 00:34:34 +0000
+++ b/configure.ac 2014-06-05 06:24:54 +0000
@@ -4847,6 +4847,7 @@
## Common for all window systems
if test "$window_system" != "none"; then
AC_DEFINE(HAVE_WINDOW_SYSTEM, 1, [Define if you have a window system.])
+ AC_DEFINE(POLL_FOR_INPUT, 1, [Define if you poll periodically to detect
C-g.])
WINDOW_SYSTEM_OBJ="fontset.o fringe.o image.o"
fi
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog 2014-05-29 19:19:18 +0000
+++ b/nt/ChangeLog 2014-06-05 06:24:54 +0000
@@ -1,3 +1,7 @@
+2014-06-05 Dmitry Antipov <address@hidden>
+
+ * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
+
2014-05-29 Eli Zaretskii <address@hidden>
* Makefile.in (DONT_INSTALL): Now empty.
=== modified file 'nt/inc/ms-w32.h'
--- a/nt/inc/ms-w32.h 2014-05-27 17:31:17 +0000
+++ b/nt/inc/ms-w32.h 2014-06-05 06:24:54 +0000
@@ -159,6 +159,7 @@
#ifdef HAVE_NTGUI
# ifndef HAVE_WINDOW_SYSTEM
# define HAVE_WINDOW_SYSTEM 1
+# define POLL_FOR_INPUT 1
# endif
#endif
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-06-04 14:59:09 +0000
+++ b/src/ChangeLog 2014-06-05 06:24:54 +0000
@@ -1,3 +1,8 @@
+2014-06-05 Dmitry Antipov <address@hidden>
+
+ * keyboard.c, process.c: Do not define POLL_FOR_INPUT here
+ because it will be defined in generated config.h if needed.
+
2014-06-04 Dmitry Antipov <address@hidden>
Use terminal-specific hooks to display popup dialogs.
=== modified file 'src/keyboard.c'
--- a/src/keyboard.c 2014-05-30 04:12:08 +0000
+++ b/src/keyboard.c 2014-06-05 06:24:54 +0000
@@ -377,12 +377,6 @@
/* Nonzero while interrupts are temporarily deferred during redisplay. */
bool interrupts_deferred;
-/* If we support a window system, turn on the code to poll periodically
- to detect C-g. It isn't actually used when doing interrupt input. */
-#ifdef HAVE_WINDOW_SYSTEM
-#define POLL_FOR_INPUT
-#endif
-
/* The time when Emacs started being idle. */
static struct timespec timer_idleness_start_time;
=== modified file 'src/process.c'
--- a/src/process.c 2014-06-03 16:15:43 +0000
+++ b/src/process.c 2014-06-05 06:24:54 +0000
@@ -286,12 +286,6 @@
static void handle_child_signal (int);
static void create_pty (Lisp_Object);
-/* If we support a window system, turn on the code to poll periodically
- to detect C-g. It isn't actually used when doing interrupt input. */
-#ifdef HAVE_WINDOW_SYSTEM
-#define POLL_FOR_INPUT
-#endif
-
static Lisp_Object get_process (register Lisp_Object name);
static void exec_sentinel (Lisp_Object proc, Lisp_Object reason);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117264: * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.,
Dmitry Antipov <=