aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-03-14 15:19:58 +0000
committerGerd Moellmann2000-03-14 15:19:58 +0000
commit34e23e5a04aa3c16fcdfedcb60099410b5e62ba3 (patch)
treed34c57355789f593da0b0a5b902142a48cb7cc16 /src
parent66f0296e4897de71e31a1663d4b92d580476e2b2 (diff)
downloademacs-34e23e5a04aa3c16fcdfedcb60099410b5e62ba3.tar.gz
emacs-34e23e5a04aa3c16fcdfedcb60099410b5e62ba3.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog18
-rw-r--r--src/xterm.c14
2 files changed, 26 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 552d4cf2f7c..808adc921af 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,12 +1,18 @@
12000-03-14 Gerd Moellmann <gerd@gnu.org>
2
3 * xterm.c (x_term_init): Add support for X resource `synchronous'.
4 If set, call XSynchronize.
5
12000-03-13 Stefan Monnier <monnier@cs.yale.edu> 62000-03-13 Stefan Monnier <monnier@cs.yale.edu>
2 7
3 * regex.c: Declare a new type `re_char' used throughout the code for the 8 * regex.c: Declare a new type `re_char' used throughout the code
4 string char type. It's `const unsigned char' to match the rest of Emacs. 9 for the string char type. It's `const unsigned char' to match the
5 Consistently make sure all pointers to strings use it and make sure all 10 rest of Emacs. Consistently make sure all pointers to strings use
6 pointers into the pattern use `unsigned char'. 11 it and make sure all pointers into the pattern use `unsigned
12 char'.
7 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of 13 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
8 GET_CHAR_AFTER_2. 14 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce
9 Also merge wordbound and notwordbound to reduce code duplication. 15 code duplication.
10 16
11 * charset.h (GET_CHAR_AFTER_2): Remove. 17 * charset.h (GET_CHAR_AFTER_2): Remove.
12 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else. 18 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.
diff --git a/src/xterm.c b/src/xterm.c
index b60912dd9db..e52e22e4bc1 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -13181,6 +13181,20 @@ x_term_init (display_name, xrm_option, resource_name)
13181#endif 13181#endif
13182#endif 13182#endif
13183 13183
13184 /* See if we should run in synchronous mode. This is useful
13185 for debugging X code. */
13186 {
13187 Lisp_Object value;
13188 value = display_x_get_resource (dpyinfo,
13189 build_string ("synchronous"),
13190 build_string ("Synchronous"),
13191 Qnil, Qnil);
13192 if (STRINGP (value)
13193 && (!strcmp (XSTRING (value)->data, "true")
13194 || !strcmp (XSTRING (value)->data, "on")))
13195 XSynchronize (dpyinfo->display, True);
13196 }
13197
13184 UNBLOCK_INPUT; 13198 UNBLOCK_INPUT;
13185 13199
13186 return dpyinfo; 13200 return dpyinfo;