diff options
| author | Karl Heuer | 1994-10-04 12:03:19 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-04 12:03:19 +0000 |
| commit | e9c9a718fbe5d67275c0e1f507e1efe6d198e0e9 (patch) | |
| tree | fb2afe34d838c0527b3ce0083c74ef001c789252 /src | |
| parent | f187f1f77699125867bc44ea6a62863844f02c9c (diff) | |
| download | emacs-e9c9a718fbe5d67275c0e1f507e1efe6d198e0e9.tar.gz emacs-e9c9a718fbe5d67275c0e1f507e1efe6d198e0e9.zip | |
(redraw_frame, Fsleep_for, sit_for, Fsit_for): Use new accessor macros instead
of calling XSET directly.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 0faabda9298..9f2fbf9c715 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -186,7 +186,7 @@ redraw_frame (f) | |||
| 186 | FRAME_PTR f; | 186 | FRAME_PTR f; |
| 187 | { | 187 | { |
| 188 | Lisp_Object frame; | 188 | Lisp_Object frame; |
| 189 | XSET (frame, Lisp_Frame, f); | 189 | XSETFRAME (frame, f); |
| 190 | Fredraw_frame (frame); | 190 | Fredraw_frame (frame); |
| 191 | } | 191 | } |
| 192 | 192 | ||
| @@ -2163,7 +2163,7 @@ Emacs was built without floating point support.\n\ | |||
| 2163 | int sec, usec; | 2163 | int sec, usec; |
| 2164 | 2164 | ||
| 2165 | if (NILP (milliseconds)) | 2165 | if (NILP (milliseconds)) |
| 2166 | XSET (milliseconds, Lisp_Int, 0); | 2166 | XSETINT (milliseconds, 0); |
| 2167 | else | 2167 | else |
| 2168 | CHECK_NUMBER (milliseconds, 1); | 2168 | CHECK_NUMBER (milliseconds, 1); |
| 2169 | usec = XINT (milliseconds) * 1000; | 2169 | usec = XINT (milliseconds) * 1000; |
| @@ -2269,7 +2269,7 @@ sit_for (sec, usec, reading, display) | |||
| 2269 | gobble_input (0); | 2269 | gobble_input (0); |
| 2270 | #endif | 2270 | #endif |
| 2271 | 2271 | ||
| 2272 | XSET (read_kbd, Lisp_Int, reading ? -1 : 1); | 2272 | XSETINT (read_kbd, reading ? -1 : 1); |
| 2273 | wait_reading_process_input (sec, usec, read_kbd, display); | 2273 | wait_reading_process_input (sec, usec, read_kbd, display); |
| 2274 | 2274 | ||
| 2275 | 2275 | ||
| @@ -2318,7 +2318,7 @@ Value is t if waited the full time with no input arriving.") | |||
| 2318 | int sec, usec; | 2318 | int sec, usec; |
| 2319 | 2319 | ||
| 2320 | if (NILP (milliseconds)) | 2320 | if (NILP (milliseconds)) |
| 2321 | XSET (milliseconds, Lisp_Int, 0); | 2321 | XSETINT (milliseconds, 0); |
| 2322 | else | 2322 | else |
| 2323 | CHECK_NUMBER (milliseconds, 1); | 2323 | CHECK_NUMBER (milliseconds, 1); |
| 2324 | usec = XINT (milliseconds) * 1000; | 2324 | usec = XINT (milliseconds) * 1000; |