aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2002-07-16 15:50:57 +0000
committerKen Raeburn2002-07-16 15:50:57 +0000
commit7da167cde1be7c9007be95a65834658bee618d83 (patch)
tree9b3f64d9542cf611e9ad71a4db4eb624811105c5 /src
parentb06a00fb6d494cfaf24199bcb7d0a95d5ce2efeb (diff)
downloademacs-7da167cde1be7c9007be95a65834658bee618d83.tar.gz
emacs-7da167cde1be7c9007be95a65834658bee618d83.zip
* xterm.c (x_catch_errors, x_clear_errors): Use SSET.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog27
-rw-r--r--src/xterm.c4
2 files changed, 28 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8eda2c6c2ab..29f28059f61 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,31 @@
12002-07-16 Ken Raeburn <raeburn@gnu.org> 12002-07-16 Ken Raeburn <raeburn@gnu.org>
2 2
3 * lisp.h (SDATA): Produce rvalue. 3 * lisp.h (SDATA, SREF): Produce rvalue.
4 (SSET): New macro.
5 * alloc.c (make_event_array): Use SSET for storing into a string.
6 * buffer.c (Fother_buffer): Use SREF when retrieving a byte from
7 a string.
8 * casefiddle.c (casify_object): Use SSET.
9 * charset.h (FETCH_STRING_CHAR_ADVANCE,
10 FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting
11 address of string contents.
12 * data.c (Faref): Use SDATA.
13 (Faset): Use SDATA, SSET.
14 * dired.c (directory_files_internal): Use SSET.
15 * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET.
16 (Fread_file_name): Use SREF, SSET.
17 * fns.c (concat): Use SSET.
18 (concat, Fdelete): Use SDATA.
19 * insdel.c (insert_from_string_1): Use SDATA.
20 * keyboard.c (Fevent_convert_list): Use SREF.
21 * lread.c (Fload): Use SDATA, SSET.
22 * macfns.c (validate_x_resource_name): Use SSET.
23 * process.c (status_message): Use SSET.
24 * search.c (wordify): Use SDATA.
25 (Freplace_match): Use SREF.
26 * w32fns.c (validate_x_resource_name): Use SSET.
27 * xfns.c (validate_x_resource_name): Use SSET.
28 * xterm.c (x_catch_errors, x_clear_errors): Use SSET.
4 29
52002-07-16 Richard M. Stallman <rms@gnu.org> 302002-07-16 Richard M. Stallman <rms@gnu.org>
6 31
diff --git a/src/xterm.c b/src/xterm.c
index 5796ff9e8b9..b0b52ebbdf3 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -12131,7 +12131,7 @@ x_catch_errors (dpy)
12131 record_unwind_protect (x_catch_errors_unwind, x_error_message_string); 12131 record_unwind_protect (x_catch_errors_unwind, x_error_message_string);
12132 12132
12133 x_error_message_string = make_uninit_string (X_ERROR_MESSAGE_SIZE); 12133 x_error_message_string = make_uninit_string (X_ERROR_MESSAGE_SIZE);
12134 SREF (x_error_message_string, 0) = 0; 12134 SSET (x_error_message_string, 0, 0);
12135 12135
12136 return count; 12136 return count;
12137} 12137}
@@ -12181,7 +12181,7 @@ void
12181x_clear_errors (dpy) 12181x_clear_errors (dpy)
12182 Display *dpy; 12182 Display *dpy;
12183{ 12183{
12184 SREF (x_error_message_string, 0) = 0; 12184 SSET (x_error_message_string, 0, 0);
12185} 12185}
12186 12186
12187/* Stop catching X protocol errors and let them make Emacs die. 12187/* Stop catching X protocol errors and let them make Emacs die.