aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-06-09 11:59:12 +0000
committerJim Blandy1993-06-09 11:59:12 +0000
commiteb8c3be94e12644f506b8857e49ffef88046bb0b (patch)
tree505c4ea5ae59214e4d6e749047d160c98191c9d2 /src
parent16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff)
downloademacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz
emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip
Apply typo patches from Paul Eggert.
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c4
-rw-r--r--src/buffer.c2
-rw-r--r--src/cmds.c2
-rw-r--r--src/config.in2
-rw-r--r--src/data.c8
-rw-r--r--src/dired.c2
-rw-r--r--src/dispnew.c2
-rw-r--r--src/editfns.c4
-rw-r--r--src/floatfns.c4
-rw-r--r--src/frame.c4
-rw-r--r--src/frame.h2
-rw-r--r--src/hftctl.c2
-rw-r--r--src/insdel.c4
-rw-r--r--src/intervals.c6
-rw-r--r--src/keyboard.c12
-rw-r--r--src/keyboard.h2
-rw-r--r--src/lisp.h2
-rw-r--r--src/m/att3b.h2
-rw-r--r--src/m/hp9000s300.h2
-rw-r--r--src/m/ns32000.h2
-rw-r--r--src/m/sps7.h2
-rw-r--r--src/m/sun1.h2
-rw-r--r--src/print.c2
-rw-r--r--src/process.c4
-rw-r--r--src/ralloc.c4
-rw-r--r--src/s/aix3-1.h2
-rw-r--r--src/s/dgux.h2
-rw-r--r--src/s/gnu-linux.h2
-rw-r--r--src/s/hpux.h4
-rw-r--r--src/s/iris3-5.h2
-rw-r--r--src/s/iris3-6.h2
-rw-r--r--src/s/irix3-3.h2
-rw-r--r--src/s/osf1.h2
-rw-r--r--src/s/rtu.h4
-rw-r--r--src/s/sunos4-1.h2
-rw-r--r--src/s/template.h4
-rw-r--r--src/s/umax.h2
-rw-r--r--src/s/unipl5-0.h2
-rw-r--r--src/s/unipl5-2.h2
-rw-r--r--src/s/usg5-0.h2
-rw-r--r--src/s/usg5-2-2.h2
-rw-r--r--src/s/usg5-2.h2
-rw-r--r--src/s/xenix.h4
-rw-r--r--src/search.c2
-rw-r--r--src/sunfns.c4
-rw-r--r--src/syntax.c4
-rw-r--r--src/sysdep.c30
-rw-r--r--src/systty.h2
-rw-r--r--src/term.c4
-rw-r--r--src/termopts.h2
-rw-r--r--src/textprop.c2
-rw-r--r--src/unexaix.c2
-rw-r--r--src/unexconvex.c4
-rw-r--r--src/unexec.c4
-rw-r--r--src/unexenix.c2
-rw-r--r--src/unexmips.c2
-rw-r--r--src/unexsunos4.c4
-rw-r--r--src/xfns.c6
-rw-r--r--src/xselect.c2
-rw-r--r--src/xterm.c12
-rw-r--r--src/xterm.h2
61 files changed, 109 insertions, 109 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 56b59f5006d..f47287d4b01 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -359,7 +359,7 @@ mark_interval_tree (tree)
359 { if (!NULL_INTERVAL_P (i)) mark_interval_tree (i); } 359 { if (!NULL_INTERVAL_P (i)) mark_interval_tree (i); }
360 360
361/* The oddity in the call to XUNMARK is necessary because XUNMARK 361/* The oddity in the call to XUNMARK is necessary because XUNMARK
362 expands to an assigment to its argument, and most C compilers don't 362 expands to an assignment to its argument, and most C compilers don't
363 support casts on the left operand of `='. */ 363 support casts on the left operand of `='. */
364#define UNMARK_BALANCE_INTERVALS(i) \ 364#define UNMARK_BALANCE_INTERVALS(i) \
365{ \ 365{ \
@@ -1444,7 +1444,7 @@ clear_marks ()
1444 If the object referred to has not been seen yet, recursively mark 1444 If the object referred to has not been seen yet, recursively mark
1445 all the references contained in it. 1445 all the references contained in it.
1446 1446
1447 If the object referenced is a short string, the referrencing slot 1447 If the object referenced is a short string, the referencing slot
1448 is threaded into a chain of such slots, pointed to from 1448 is threaded into a chain of such slots, pointed to from
1449 the `size' field of the string. The actual string size 1449 the `size' field of the string. The actual string size
1450 lives in the last slot in the chain. We recognize the end 1450 lives in the last slot in the chain. We recognize the end
diff --git a/src/buffer.c b/src/buffer.c
index 8a611fc7409..c08135b2e00 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1709,7 +1709,7 @@ OVERLAY.")
1709 1709
1710 1710
1711DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0, 1711DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0,
1712 "Return a list of the overays that contain position POS.") 1712 "Return a list of the overlays that contain position POS.")
1713 (pos) 1713 (pos)
1714 Lisp_Object pos; 1714 Lisp_Object pos;
1715{ 1715{
diff --git a/src/cmds.c b/src/cmds.c
index f0dbf72cfcd..df8cd6d0645 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -244,7 +244,7 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
244 Fbarf_if_buffer_read_only (); 244 Fbarf_if_buffer_read_only ();
245 245
246 /* Inserting a newline at the end of a line produces better 246 /* Inserting a newline at the end of a line produces better
247 redisplay in try_window_id than inserting at the ebginning fo a 247 redisplay in try_window_id than inserting at the beginning of a
248 line, and the textual result is the same. So, if we're at 248 line, and the textual result is the same. So, if we're at
249 beginning of line, pretend to be at the end of the previous line. 249 beginning of line, pretend to be at the end of the previous line.
250 250
diff --git a/src/config.in b/src/config.in
index 89858d31daf..9fad42a74cc 100644
--- a/src/config.in
+++ b/src/config.in
@@ -201,7 +201,7 @@ and this notice must be preserved on all copies. */
201 programs assume that if you have a config.h file, you must declare 201 programs assume that if you have a config.h file, you must declare
202 the type of getenv. 202 the type of getenv.
203 203
204 This declaration shouldn't appear when alloca.s or ymakfile 204 This declaration shouldn't appear when alloca.s or ymakefile
205 includes config.h. */ 205 includes config.h. */
206#ifndef NOT_C_CODE 206#ifndef NOT_C_CODE
207extern char *getenv (); 207extern char *getenv ();
diff --git a/src/data.c b/src/data.c
index bdbead64df0..d9c905a6b0e 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1215,9 +1215,9 @@ Lisp_Object
1215indirect_function (object) 1215indirect_function (object)
1216 register Lisp_Object object; 1216 register Lisp_Object object;
1217{ 1217{
1218 Lisp_Object tortise, hare; 1218 Lisp_Object tortoise, hare;
1219 1219
1220 hare = tortise = object; 1220 hare = tortoise = object;
1221 1221
1222 for (;;) 1222 for (;;)
1223 { 1223 {
@@ -1228,9 +1228,9 @@ indirect_function (object)
1228 break; 1228 break;
1229 hare = XSYMBOL (hare)->function; 1229 hare = XSYMBOL (hare)->function;
1230 1230
1231 tortise = XSYMBOL (tortise)->function; 1231 tortoise = XSYMBOL (tortoise)->function;
1232 1232
1233 if (EQ (hare, tortise)) 1233 if (EQ (hare, tortoise))
1234 Fsignal (Qcyclic_function_indirection, Fcons (object, Qnil)); 1234 Fsignal (Qcyclic_function_indirection, Fcons (object, Qnil));
1235 } 1235 }
1236 1236
diff --git a/src/dired.c b/src/dired.c
index ee0ae07b970..4a529bc7503 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -551,7 +551,7 @@ If file does not exist, returns nil.")
551 filemodestring (&s, modes); 551 filemodestring (&s, modes);
552 values[8] = make_string (modes, 10); 552 values[8] = make_string (modes, 10);
553#ifdef BSD4_3 /* Gross kludge to avoid lack of "#if defined(...)" in VMS */ 553#ifdef BSD4_3 /* Gross kludge to avoid lack of "#if defined(...)" in VMS */
554#define BSD4_2 /* A new meaning to the term `backwards compatability' */ 554#define BSD4_2 /* A new meaning to the term `backwards compatibility' */
555#endif 555#endif
556#ifdef BSD4_2 /* file gid will be dir gid */ 556#ifdef BSD4_2 /* file gid will be dir gid */
557 dirname = Ffile_name_directory (filename); 557 dirname = Ffile_name_directory (filename);
diff --git a/src/dispnew.c b/src/dispnew.c
index 7bcd8015b2f..ed392e0eddf 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -116,7 +116,7 @@ FRAME_PTR last_nonminibuf_frame;
116 exist inside frame objects lives in the following structure instead. 116 exist inside frame objects lives in the following structure instead.
117 117
118 NOTE: the_only_frame is not checked for garbage collection; don't 118 NOTE: the_only_frame is not checked for garbage collection; don't
119 store collectable objects in any of its fields! 119 store collectible objects in any of its fields!
120 120
121 You're not/The only frame in town/... */ 121 You're not/The only frame in town/... */
122 122
diff --git a/src/editfns.c b/src/editfns.c
index e8b2a08c79f..a68696ce9ec 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -795,7 +795,7 @@ Both arguments are required.")
795 795
796/* Return a Lisp_String containing the text of the current buffer from 796/* Return a Lisp_String containing the text of the current buffer from
797 START to END. If text properties are in use and the current buffer 797 START to END. If text properties are in use and the current buffer
798 has properties in the range specifed, the resulting string will also 798 has properties in the range specified, the resulting string will also
799 have them. 799 have them.
800 800
801 We don't want to use plain old make_string here, because it calls 801 We don't want to use plain old make_string here, because it calls
@@ -1365,7 +1365,7 @@ Use %% to put a single % into the output.")
1365 else if (XTYPE (args[n]) == Lisp_Int && *format != 's') 1365 else if (XTYPE (args[n]) == Lisp_Int && *format != 's')
1366 { 1366 {
1367#ifdef LISP_FLOAT_TYPE 1367#ifdef LISP_FLOAT_TYPE
1368 /* The following loop issumes the Lisp type indicates 1368 /* The following loop assumes the Lisp type indicates
1369 the proper way to pass the argument. 1369 the proper way to pass the argument.
1370 So make sure we have a flonum if the argument should 1370 So make sure we have a flonum if the argument should
1371 be a double. */ 1371 be a double. */
diff --git a/src/floatfns.c b/src/floatfns.c
index abc873688e4..ca50a920f3c 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -405,8 +405,8 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0,
405 if ((XTYPE (arg1) == Lisp_Int) && /* common lisp spec */ 405 if ((XTYPE (arg1) == Lisp_Int) && /* common lisp spec */
406 (XTYPE (arg2) == Lisp_Int)) /* don't promote, if both are ints */ 406 (XTYPE (arg2) == Lisp_Int)) /* don't promote, if both are ints */
407 { /* this can be improved by pre-calculating */ 407 { /* this can be improved by pre-calculating */
408 int acc, x, y; /* some binary powers of x then acumulating */ 408 int acc, x, y; /* some binary powers of x then accumulating */
409 /* these, therby saving some time. -wsr */ 409 /* these, thereby saving some time. -wsr */
410 x = XINT (arg1); 410 x = XINT (arg1);
411 y = XINT (arg2); 411 y = XINT (arg2);
412 acc = 1; 412 acc = 1;
diff --git a/src/frame.c b/src/frame.c
index 952cc65f7ff..290fb18ee6b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -326,7 +326,7 @@ make_terminal_frame ()
326 326
327DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e", 327DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e",
328 "Select the frame FRAME.\n\ 328 "Select the frame FRAME.\n\
329Subseqent editing commands apply to its selected window.\n\ 329Subsequent editing commands apply to its selected window.\n\
330The selection of FRAME lasts until the next time the user does\n\ 330The selection of FRAME lasts until the next time the user does\n\
331something to select a different frame, or until the next time this\n\ 331something to select a different frame, or until the next time this\n\
332function is called.") 332function is called.")
@@ -394,7 +394,7 @@ to that frame.")
394 choose_minibuf_frame (); 394 choose_minibuf_frame ();
395 395
396 /* We want to make sure that the next event generates a frame-switch 396 /* We want to make sure that the next event generates a frame-switch
397 event to the appropriate frame. This seems kludgey to me, but 397 event to the appropriate frame. This seems kludgy to me, but
398 before you take it out, make sure that evaluating something like 398 before you take it out, make sure that evaluating something like
399 (select-window (frame-root-window (new-frame))) doesn't end up 399 (select-window (frame-root-window (new-frame))) doesn't end up
400 with your typing being interpreted in the new frame instead of 400 with your typing being interpreted in the new frame instead of
diff --git a/src/frame.h b/src/frame.h
index e658cdc9286..e56e7d27e68 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -87,7 +87,7 @@ struct frame
87 /* Name of this frame: a Lisp string. See also `explicit_name'. */ 87 /* Name of this frame: a Lisp string. See also `explicit_name'. */
88 Lisp_Object name; 88 Lisp_Object name;
89 89
90 /* The frame which should recieve keystrokes that occur in this 90 /* The frame which should receive keystrokes that occur in this
91 frame, or nil if they should go to the frame itself. This is 91 frame, or nil if they should go to the frame itself. This is
92 usually nil, but if the frame is minibufferless, we can use this 92 usually nil, but if the frame is minibufferless, we can use this
93 to redirect keystrokes to a surrogate minibuffer frame when 93 to redirect keystrokes to a surrogate minibuffer frame when
diff --git a/src/hftctl.c b/src/hftctl.c
index 7f6cc919495..5891b25cd2e 100644
--- a/src/hftctl.c
+++ b/src/hftctl.c
@@ -20,7 +20,7 @@
20/* 2. places fildes into raw mode */ 20/* 2. places fildes into raw mode */
21/* 3. converts ioctl arguments to datastream */ 21/* 3. converts ioctl arguments to datastream */
22/* 4. waits for 2 secs for acknowledgement before */ 22/* 4. waits for 2 secs for acknowledgement before */
23/* timimg out. */ 23/* timing out. */
24/* 5. places response in callers buffer ( just like */ 24/* 5. places response in callers buffer ( just like */
25/* ioctl. */ 25/* ioctl. */
26/* 6. returns fildes to its original mode */ 26/* 6. returns fildes to its original mode */
diff --git a/src/insdel.c b/src/insdel.c
index 9d2572bfe62..f53d6a76c6a 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -546,7 +546,7 @@ after_change_function_restore (value)
546 Vafter_change_function = value; 546 Vafter_change_function = value;
547} 547}
548 548
549/* Signal a change to the buffer immediatly before it happens. 549/* Signal a change to the buffer immediately before it happens.
550 START and END are the bounds of the text to be changed, 550 START and END are the bounds of the text to be changed,
551 as Lisp objects. */ 551 as Lisp objects. */
552 552
@@ -578,7 +578,7 @@ signal_before_change (start, end)
578 } 578 }
579} 579}
580 580
581/* Signal a change immediatly after it happens. 581/* Signal a change immediately after it happens.
582 POS is the address of the start of the changed text. 582 POS is the address of the start of the changed text.
583 LENDEL is the number of characters of the text before the change. 583 LENDEL is the number of characters of the text before the change.
584 (Not the whole buffer; just the part that was changed.) 584 (Not the whole buffer; just the part that was changed.)
diff --git a/src/intervals.c b/src/intervals.c
index c4bb4c381db..7809c37505b 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -837,7 +837,7 @@ interval_deletion_adjustment (tree, from, amount)
837 /* Never reach here */ 837 /* Never reach here */
838} 838}
839 839
840/* Effect the adjustments neccessary to the interval tree of BUFFER 840/* Effect the adjustments necessary to the interval tree of BUFFER
841 to correspond to the deletion of LENGTH characters from that buffer 841 to correspond to the deletion of LENGTH characters from that buffer
842 text. The deletion is effected at position START (relative to the 842 text. The deletion is effected at position START (relative to the
843 buffer). */ 843 buffer). */
@@ -881,7 +881,7 @@ adjust_intervals_for_deletion (buffer, start, length)
881 } 881 }
882} 882}
883 883
884/* Make the adjustments neccessary to the interval tree of BUFFER to 884/* Make the adjustments necessary to the interval tree of BUFFER to
885 represent an addition or deletion of LENGTH characters starting 885 represent an addition or deletion of LENGTH characters starting
886 at position START. Addition or deletion is indicated by the sign 886 at position START. Addition or deletion is indicated by the sign
887 of LENGTH. */ 887 of LENGTH. */
@@ -1096,7 +1096,7 @@ make_new_interval (intervals, start, length)
1096 had its appropriate sticky property set (front_sticky, rear_sticky), 1096 had its appropriate sticky property set (front_sticky, rear_sticky),
1097 the new text has only its properties. If one of the sticky properties 1097 the new text has only its properties. If one of the sticky properties
1098 is set, then the new text "sticks" to that region and its properties 1098 is set, then the new text "sticks" to that region and its properties
1099 depend on merging as above. If both the preceding and succeding 1099 depend on merging as above. If both the preceding and succeeding
1100 intervals to the new text are "sticky", then the new text retains 1100 intervals to the new text are "sticky", then the new text retains
1101 only its properties, as if neither sticky property were set. Perhaps 1101 only its properties, as if neither sticky property were set. Perhaps
1102 we should consider merging all three sets of properties onto the new 1102 we should consider merging all three sets of properties onto the new
diff --git a/src/keyboard.c b/src/keyboard.c
index fb935e7bb8f..c192b2070bd 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -903,7 +903,7 @@ command_loop_1 ()
903 Vdeactivate_mark = Qnil; 903 Vdeactivate_mark = Qnil;
904 904
905 /* If minibuffer on and echo area in use, 905 /* If minibuffer on and echo area in use,
906 wait 2 sec and redraw minibufer. */ 906 wait 2 sec and redraw minibuffer. */
907 907
908 if (minibuf_level && echo_area_glyphs) 908 if (minibuf_level && echo_area_glyphs)
909 { 909 {
@@ -1175,7 +1175,7 @@ command_loop_1 ()
1175/* Number of seconds between polling for input. */ 1175/* Number of seconds between polling for input. */
1176int polling_period; 1176int polling_period;
1177 1177
1178/* Nonzero means polling for input is temporarily suppresed. */ 1178/* Nonzero means polling for input is temporarily suppressed. */
1179int poll_suppress_count; 1179int poll_suppress_count;
1180 1180
1181#ifdef POLL_FOR_INPUT 1181#ifdef POLL_FOR_INPUT
@@ -1333,7 +1333,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
1333 remain unchanged. 1333 remain unchanged.
1334 1334
1335 Since this event came from a macro, it would be misleading to 1335 Since this event came from a macro, it would be misleading to
1336 leave internal_last_event_frame set to whereever the last 1336 leave internal_last_event_frame set to wherever the last
1337 real event came from. Normally, a switch-frame event selects 1337 real event came from. Normally, a switch-frame event selects
1338 internal_last_event_frame after each command is read, but 1338 internal_last_event_frame after each command is read, but
1339 events read from a macro should never cause a new frame to be 1339 events read from a macro should never cause a new frame to be
@@ -2753,7 +2753,7 @@ reorder_modifiers (symbol)
2753 the returned symbol. 2753 the returned symbol.
2754 2754
2755 The symbols we create are supposed to have an 2755 The symbols we create are supposed to have an
2756 `event-symbol-elements' propery, which lists the modifiers present 2756 `event-symbol-elements' property, which lists the modifiers present
2757 in the symbol's name. */ 2757 in the symbol's name. */
2758 2758
2759static Lisp_Object 2759static Lisp_Object
@@ -3801,7 +3801,7 @@ read_key_sequence (keybuf, bufsize, prompt)
3801 use save_excursion_{save,restore} here, because they 3801 use save_excursion_{save,restore} here, because they
3802 save point as well as the current buffer; we don't 3802 save point as well as the current buffer; we don't
3803 want to save point, because redisplay may change it, 3803 want to save point, because redisplay may change it,
3804 to accomodate a Fset_window_start or something. We 3804 to accommodate a Fset_window_start or something. We
3805 don't want to do this at the top of the function, 3805 don't want to do this at the top of the function,
3806 because we may get input from a subprocess which 3806 because we may get input from a subprocess which
3807 wants to change the selected window and stuff (say, 3807 wants to change the selected window and stuff (say,
@@ -4417,7 +4417,7 @@ On such systems, Emacs starts a subshell instead of suspending.")
4417} 4417}
4418 4418
4419/* If STUFFSTRING is a string, stuff its contents as pending terminal input. 4419/* If STUFFSTRING is a string, stuff its contents as pending terminal input.
4420 Then in any case stuff anthing Emacs has read ahead and not used. */ 4420 Then in any case stuff anything Emacs has read ahead and not used. */
4421 4421
4422stuff_buffered_input (stuffstring) 4422stuff_buffered_input (stuffstring)
4423 Lisp_Object stuffstring; 4423 Lisp_Object stuffstring;
diff --git a/src/keyboard.h b/src/keyboard.h
index ccb05ce3071..fb9f8b64de6 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -23,7 +23,7 @@ extern int num_input_chars;
23/* Total number of times read_char has returned, outside of macros. */ 23/* Total number of times read_char has returned, outside of macros. */
24extern int num_nonmacro_input_chars; 24extern int num_nonmacro_input_chars;
25 25
26/* Nonzero means polling for input is temporarily suppresed. */ 26/* Nonzero means polling for input is temporarily suppressed. */
27extern int poll_suppress_count; 27extern int poll_suppress_count;
28 28
29/* Keymap mapping ASCII function key sequences onto their preferred forms. 29/* Keymap mapping ASCII function key sequences onto their preferred forms.
diff --git a/src/lisp.h b/src/lisp.h
index 66b85c7679d..b7f5e0e20b2 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -474,7 +474,7 @@ typedef struct interval *INTERVAL;
474 structures. See, e.g., struct Lisp_String below. */ 474 structures. See, e.g., struct Lisp_String below. */
475#define DECLARE_INTERVALS INTERVAL intervals; 475#define DECLARE_INTERVALS INTERVAL intervals;
476 476
477/* Macro used to condionally compile interval initialization into 477/* Macro used to conditionally compile interval initialization into
478 certain code. See, e.g., alloc.c. */ 478 certain code. See, e.g., alloc.c. */
479#define INITIALIZE_INTERVAL(ptr,val) ptr->intervals = val 479#define INITIALIZE_INTERVAL(ptr,val) ptr->intervals = val
480 480
diff --git a/src/m/att3b.h b/src/m/att3b.h
index 53fc26780af..838a5b867b3 100644
--- a/src/m/att3b.h
+++ b/src/m/att3b.h
@@ -129,7 +129,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
129 ? (sign_extend_temp | 0xFF000000) \ 129 ? (sign_extend_temp | 0xFF000000) \
130 : (sign_extend_temp & 0x00FFFFFF)) 130 : (sign_extend_temp & 0x00FFFFFF))
131 131
132#ifdef emacs /* Don't do this when makeing xmakefile! */ 132#ifdef emacs /* Don't do this when making xmakefile! */
133extern int sign_extend_temp; 133extern int sign_extend_temp;
134#endif 134#endif
135 135
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h
index 6d247d34806..eaf7436a545 100644
--- a/src/m/hp9000s300.h
+++ b/src/m/hp9000s300.h
@@ -119,7 +119,7 @@ NOTE-END */
119 119
120/* #define VIRT_ADDR_VARIES */ 120/* #define VIRT_ADDR_VARIES */
121 121
122/* For University of Utah 4.3bsd implemetation on HP300s. 122/* For University of Utah 4.3bsd implementation on HP300s.
123 The #ifndef __GNUC__ definitions are required for the "standard" cc, 123 The #ifndef __GNUC__ definitions are required for the "standard" cc,
124 a very old, brain-dead version of PCC. */ 124 a very old, brain-dead version of PCC. */
125 125
diff --git a/src/m/ns32000.h b/src/m/ns32000.h
index 0520b678d75..f41e457dbe2 100644
--- a/src/m/ns32000.h
+++ b/src/m/ns32000.h
@@ -1,4 +1,4 @@
1/* machine description file for Netional Semiconductor 32000, running Genix. 1/* machine description file for National Semiconductor 32000, running Genix.
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/m/sps7.h b/src/m/sps7.h
index 5e838592cc6..0408ed0e02e 100644
--- a/src/m/sps7.h
+++ b/src/m/sps7.h
@@ -52,7 +52,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
52#define EXPLICIT_SIGN_EXTEND 52#define EXPLICIT_SIGN_EXTEND
53 53
54/* Data type of load average, as read out of kmem. */ 54/* Data type of load average, as read out of kmem. */
55/* Suspect there is something wierd about this machine, so turn it off. */ 55/* Suspect there is something weird about this machine, so turn it off. */
56 56
57/* #define LOAD_AVE_TYPE long */ 57/* #define LOAD_AVE_TYPE long */
58 58
diff --git a/src/m/sun1.h b/src/m/sun1.h
index 085834ccb57..f4dca832daf 100644
--- a/src/m/sun1.h
+++ b/src/m/sun1.h
@@ -59,7 +59,7 @@ NOTE-END */
59 59
60#define NO_UNION_TYPE 60#define NO_UNION_TYPE
61 61
62/* Sun can't write competant compilers */ 62/* Sun can't write competent compilers */
63#define COMPILER_REGISTER_BUG 63#define COMPILER_REGISTER_BUG
64 64
65/* XINT must explicitly sign-extend */ 65/* XINT must explicitly sign-extend */
diff --git a/src/print.c b/src/print.c
index 6075ea22210..3336a565b1d 100644
--- a/src/print.c
+++ b/src/print.c
@@ -128,7 +128,7 @@ glyph_to_str_cpy (glyphs, str)
128} 128}
129#endif 129#endif
130 130
131/* Low level output routines for charaters and strings */ 131/* Low level output routines for characters and strings */
132 132
133/* Lisp functions to do output using a stream 133/* Lisp functions to do output using a stream
134 must have the stream in a variable called printcharfun 134 must have the stream in a variable called printcharfun
diff --git a/src/process.c b/src/process.c
index 91e411eff65..d0beafe6ad9 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1683,7 +1683,7 @@ static int waiting_for_user_input_p;
1683 If read_kbd is a pointer to a struct Lisp_Process, then the 1683 If read_kbd is a pointer to a struct Lisp_Process, then the
1684 function returns true iff we received input from that process 1684 function returns true iff we received input from that process
1685 before the timeout elapsed. 1685 before the timeout elapsed.
1686 Otherwise, return true iff we recieved input from any process. */ 1686 Otherwise, return true iff we received input from any process. */
1687 1687
1688wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) 1688wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1689 int time_limit, microsecs; 1689 int time_limit, microsecs;
@@ -3121,7 +3121,7 @@ extern int frame_garbaged;
3121 do_display != 0 means redisplay should be done to show subprocess 3121 do_display != 0 means redisplay should be done to show subprocess
3122 output that arrives. This version of the function ignores it. 3122 output that arrives. This version of the function ignores it.
3123 3123
3124 Return true iff we recieved input from any process. */ 3124 Return true iff we received input from any process. */
3125 3125
3126int 3126int
3127wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) 3127wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
diff --git a/src/ralloc.c b/src/ralloc.c
index b33e329753d..6c52b83958e 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -19,7 +19,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 19
20/* NOTES: 20/* NOTES:
21 21
22 Only relocate the blocs neccessary for SIZE in r_alloc_sbrk, 22 Only relocate the blocs necessary for SIZE in r_alloc_sbrk,
23 rather than all of them. This means allowing for a possible 23 rather than all of them. This means allowing for a possible
24 hole between the first bloc and the end of malloc storage. */ 24 hole between the first bloc and the end of malloc storage. */
25 25
@@ -485,7 +485,7 @@ r_re_alloc (ptr, size)
485 from the system. */ 485 from the system. */
486extern POINTER (*__morecore) (); 486extern POINTER (*__morecore) ();
487 487
488/* Intialize various things for memory allocation. */ 488/* Initialize various things for memory allocation. */
489 489
490static void 490static void
491r_alloc_init () 491r_alloc_init ()
diff --git a/src/s/aix3-1.h b/src/s/aix3-1.h
index f75518675d6..d7e20a4eaf2 100644
--- a/src/s/aix3-1.h
+++ b/src/s/aix3-1.h
@@ -180,7 +180,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
180#define _setjmp setjmp 180#define _setjmp setjmp
181#define _longjmp longjmp 181#define _longjmp longjmp
182 182
183/* On USG systems the system calls are interruptable by signals 183/* On USG systems the system calls are interruptible by signals
184 that the user program has elected to catch. Thus the system call 184 that the user program has elected to catch. Thus the system call
185 must be retried in these cases. To handle this without massive 185 must be retried in these cases. To handle this without massive
186 changes in the source code, we remap the standard system call names 186 changes in the source code, we remap the standard system call names
diff --git a/src/s/dgux.h b/src/s/dgux.h
index 65530877c43..2e6ac7a08a0 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -52,7 +52,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
52 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 52 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
53 53
54 SIGIO can be used only on systems that implement it (4.2 and 4.3). 54 SIGIO can be used only on systems that implement it (4.2 and 4.3).
55 CBREAK mode has two disadvatages 55 CBREAK mode has two disadvantages
56 1) At least in 4.2, it is impossible to handle the Meta key properly. 56 1) At least in 4.2, it is impossible to handle the Meta key properly.
57 I hear that in system V this problem does not exist. 57 I hear that in system V this problem does not exist.
58 2) Control-G causes output to be discarded. 58 2) Control-G causes output to be discarded.
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index ddedcc3cb0b..1499d819466 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -42,7 +42,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
42 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 42 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
43 43
44 SIGIO can be used only on systems that implement it (4.2 and 4.3). 44 SIGIO can be used only on systems that implement it (4.2 and 4.3).
45 CBREAK mode has two disadvatages 45 CBREAK mode has two disadvantages
46 1) At least in 4.2, it is impossible to handle the Meta key properly. 46 1) At least in 4.2, it is impossible to handle the Meta key properly.
47 I hear that in system V this problem does not exist. 47 I hear that in system V this problem does not exist.
48 2) Control-G causes output to be discarded. 48 2) Control-G causes output to be discarded.
diff --git a/src/s/hpux.h b/src/s/hpux.h
index cd15e1ce13d..03dd1836187 100644
--- a/src/s/hpux.h
+++ b/src/s/hpux.h
@@ -98,7 +98,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
98/* #define NONSYSTEM_DIR_LIBRARY */ 98/* #define NONSYSTEM_DIR_LIBRARY */
99 99
100/* Define this symbol if your system has the functions bcopy, etc. 100/* Define this symbol if your system has the functions bcopy, etc.
101 * s800 and later versions of s300 (s200) kernels have equivilents 101 * s800 and later versions of s300 (s200) kernels have equivalents
102 * of the BSTRING functions of BSD. If your s200 kernel doesn't have 102 * of the BSTRING functions of BSD. If your s200 kernel doesn't have
103 * em comment out this section. 103 * em comment out this section.
104 */ 104 */
@@ -176,7 +176,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
176#define _longjmp longjmp 176#define _longjmp longjmp
177*/ 177*/
178 178
179/* On USG systems the system calls are interruptable by signals 179/* On USG systems the system calls are interruptible by signals
180 that the user program has elected to catch. Thus the system call 180 that the user program has elected to catch. Thus the system call
181 must be retried in these cases. To handle this without massive 181 must be retried in these cases. To handle this without massive
182 changes in the source code, we remap the standard system call names 182 changes in the source code, we remap the standard system call names
diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h
index 20a36caa32a..3b175fa5506 100644
--- a/src/s/iris3-5.h
+++ b/src/s/iris3-5.h
@@ -154,7 +154,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
154#define _setjmp setjmp 154#define _setjmp setjmp
155#define _longjmp longjmp 155#define _longjmp longjmp
156 156
157/* On USG systems the system calls are interruptable by signals 157/* On USG systems the system calls are interruptible by signals
158 that the user program has elected to catch. Thus the system call 158 that the user program has elected to catch. Thus the system call
159 must be retried in these cases. To handle this without massive 159 must be retried in these cases. To handle this without massive
160 changes in the source code, we remap the standard system call names 160 changes in the source code, we remap the standard system call names
diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h
index 2944a70725b..a385d8623f8 100644
--- a/src/s/iris3-6.h
+++ b/src/s/iris3-6.h
@@ -155,7 +155,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
155#define _setjmp setjmp 155#define _setjmp setjmp
156#define _longjmp longjmp 156#define _longjmp longjmp
157 157
158/* On USG systems the system calls are interruptable by signals 158/* On USG systems the system calls are interruptible by signals
159 that the user program has elected to catch. Thus the system call 159 that the user program has elected to catch. Thus the system call
160 must be retried in these cases. To handle this without massive 160 must be retried in these cases. To handle this without massive
161 changes in the source code, we remap the standard system call names 161 changes in the source code, we remap the standard system call names
diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h
index 86a555e9e8c..252fc3a7b19 100644
--- a/src/s/irix3-3.h
+++ b/src/s/irix3-3.h
@@ -141,7 +141,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
141#define _setjmp setjmp 141#define _setjmp setjmp
142#define _longjmp longjmp 142#define _longjmp longjmp
143 143
144/* On USG systems the system calls are interruptable by signals 144/* On USG systems the system calls are interruptible by signals
145 that the user program has elected to catch. Thus the system call 145 that the user program has elected to catch. Thus the system call
146 must be retried in these cases. To handle this without massive 146 must be retried in these cases. To handle this without massive
147 changes in the source code, we remap the standard system call names 147 changes in the source code, we remap the standard system call names
diff --git a/src/s/osf1.h b/src/s/osf1.h
index 491b8978a6f..10b8f078906 100644
--- a/src/s/osf1.h
+++ b/src/s/osf1.h
@@ -4,7 +4,7 @@
4 4
5#define OSF1 5#define OSF1
6 6
7/* Define _BSD to tell the inlcude files we're running under 7/* Define _BSD to tell the include files we're running under
8 the BSD universe and not the SYSV universe. */ 8 the BSD universe and not the SYSV universe. */
9 9
10#define C_SWITCH_SYSTEM -D_BSD 10#define C_SWITCH_SYSTEM -D_BSD
diff --git a/src/s/rtu.h b/src/s/rtu.h
index b90ad6dd91d..f2ef555d1f1 100644
--- a/src/s/rtu.h
+++ b/src/s/rtu.h
@@ -44,7 +44,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
44 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 44 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
45 45
46 SIGIO can be used only on systems that implement it (4.2 and 4.3). 46 SIGIO can be used only on systems that implement it (4.2 and 4.3).
47 CBREAK mode has two disadvatages 47 CBREAK mode has two disadvantages
48 1) At least in 4.2, it is impossible to handle the Meta key properly. 48 1) At least in 4.2, it is impossible to handle the Meta key properly.
49 I hear that in system V this problem does not exist. 49 I hear that in system V this problem does not exist.
50 2) Control-G causes output to be discarded. 50 2) Control-G causes output to be discarded.
@@ -139,7 +139,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
139 139
140/* Special hacks needed to make Emacs run on this system. */ 140/* Special hacks needed to make Emacs run on this system. */
141 141
142/* On RTU systems (like USG) the system calls are interruptable by signals 142/* On RTU systems (like USG) the system calls are interruptible by signals
143 that the user program has elected to catch. Thus the system call 143 that the user program has elected to catch. Thus the system call
144 must be retried in these cases. To handle this without massive 144 must be retried in these cases. To handle this without massive
145 changes in the source code, we remap the standard system call names 145 changes in the source code, we remap the standard system call names
diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h
index 8e038a8c60d..61885d747c6 100644
--- a/src/s/sunos4-1.h
+++ b/src/s/sunos4-1.h
@@ -1,6 +1,6 @@
1#include "sunos4-0.h" 1#include "sunos4-0.h"
2 2
3/* 4.1.1 makes these system calls interruptable. */ 3/* 4.1.1 makes these system calls interruptible. */
4 4
5#define read sys_read 5#define read sys_read
6#define write sys_write 6#define write sys_write
diff --git a/src/s/template.h b/src/s/template.h
index 62eb065dc36..3cee20afff6 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -58,7 +58,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
58 INTERRUPT_INPUT to decide whether to use it by default. 58 INTERRUPT_INPUT to decide whether to use it by default.
59 59
60 SIGIO can be used only on systems that implement it (4.2 and 4.3). 60 SIGIO can be used only on systems that implement it (4.2 and 4.3).
61 CBREAK mode has two disadvatages 61 CBREAK mode has two disadvantages
62 1) At least in 4.2, it is impossible to handle the Meta key properly. 62 1) At least in 4.2, it is impossible to handle the Meta key properly.
63 I hear that in system V this problem does not exist. 63 I hear that in system V this problem does not exist.
64 2) Control-G causes output to be discarded. 64 2) Control-G causes output to be discarded.
@@ -83,7 +83,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
83 * Define HAVE_TERMIO if the system provides sysV-style ioctls 83 * Define HAVE_TERMIO if the system provides sysV-style ioctls
84 * for terminal control. 84 * for terminal control.
85 * 85 *
86 * Do not define both. HAVE_TERMIOS is prefered, if it is 86 * Do not define both. HAVE_TERMIOS is preferred, if it is
87 * supported on your system. 87 * supported on your system.
88 */ 88 */
89 89
diff --git a/src/s/umax.h b/src/s/umax.h
index a67f15c22e1..2bbd333d7d0 100644
--- a/src/s/umax.h
+++ b/src/s/umax.h
@@ -51,7 +51,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
51 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 51 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
52 52
53 SIGIO can be used only on systems that implement it (4.2 and 4.3). 53 SIGIO can be used only on systems that implement it (4.2 and 4.3).
54 CBREAK mode has two disadvatages 54 CBREAK mode has two disadvantages
55 1) At least in 4.2, it is impossible to handle the Meta key properly. 55 1) At least in 4.2, it is impossible to handle the Meta key properly.
56 I hear that in system V this problem does not exist. 56 I hear that in system V this problem does not exist.
57 2) Control-G causes output to be discarded. 57 2) Control-G causes output to be discarded.
diff --git a/src/s/unipl5-0.h b/src/s/unipl5-0.h
index 3df79561fb4..9cf3652fb94 100644
--- a/src/s/unipl5-0.h
+++ b/src/s/unipl5-0.h
@@ -160,7 +160,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
160#define _setjmp setjmp 160#define _setjmp setjmp
161#define _longjmp longjmp 161#define _longjmp longjmp
162 162
163/* On USG systems the system calls are interruptable by signals 163/* On USG systems the system calls are interruptible by signals
164 that the user program has elected to catch. Thus the system call 164 that the user program has elected to catch. Thus the system call
165 must be retried in these cases. To handle this without massive 165 must be retried in these cases. To handle this without massive
166 changes in the source code, we remap the standard system call names 166 changes in the source code, we remap the standard system call names
diff --git a/src/s/unipl5-2.h b/src/s/unipl5-2.h
index 6850f8d55c9..f9e3979b92a 100644
--- a/src/s/unipl5-2.h
+++ b/src/s/unipl5-2.h
@@ -154,7 +154,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
154#define _setjmp setjmp 154#define _setjmp setjmp
155#define _longjmp longjmp 155#define _longjmp longjmp
156 156
157/* On USG systems the system calls are interruptable by signals 157/* On USG systems the system calls are interruptible by signals
158 that the user program has elected to catch. Thus the system call 158 that the user program has elected to catch. Thus the system call
159 must be retried in these cases. To handle this without massive 159 must be retried in these cases. To handle this without massive
160 changes in the source code, we remap the standard system call names 160 changes in the source code, we remap the standard system call names
diff --git a/src/s/usg5-0.h b/src/s/usg5-0.h
index 16271c8a4f3..a6eeb26342d 100644
--- a/src/s/usg5-0.h
+++ b/src/s/usg5-0.h
@@ -149,7 +149,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
149#define _setjmp setjmp 149#define _setjmp setjmp
150#define _longjmp longjmp 150#define _longjmp longjmp
151 151
152/* On USG systems the system calls are interruptable by signals 152/* On USG systems the system calls are interruptible by signals
153 that the user program has elected to catch. Thus the system call 153 that the user program has elected to catch. Thus the system call
154 must be retried in these cases. To handle this without massive 154 must be retried in these cases. To handle this without massive
155 changes in the source code, we remap the standard system call names 155 changes in the source code, we remap the standard system call names
diff --git a/src/s/usg5-2-2.h b/src/s/usg5-2-2.h
index 982f3e32107..3227700c100 100644
--- a/src/s/usg5-2-2.h
+++ b/src/s/usg5-2-2.h
@@ -148,7 +148,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
148#define _setjmp setjmp 148#define _setjmp setjmp
149#define _longjmp longjmp 149#define _longjmp longjmp
150 150
151/* On USG systems the system calls are interruptable by signals 151/* On USG systems the system calls are interruptible by signals
152 that the user program has elected to catch. Thus the system call 152 that the user program has elected to catch. Thus the system call
153 must be retried in these cases. To handle this without massive 153 must be retried in these cases. To handle this without massive
154 changes in the source code, we remap the standard system call names 154 changes in the source code, we remap the standard system call names
diff --git a/src/s/usg5-2.h b/src/s/usg5-2.h
index 46346005dfb..d4a82ab6d0c 100644
--- a/src/s/usg5-2.h
+++ b/src/s/usg5-2.h
@@ -148,7 +148,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
148#define _setjmp setjmp 148#define _setjmp setjmp
149#define _longjmp longjmp 149#define _longjmp longjmp
150 150
151/* On USG systems the system calls are interruptable by signals 151/* On USG systems the system calls are interruptible by signals
152 that the user program has elected to catch. Thus the system call 152 that the user program has elected to catch. Thus the system call
153 must be retried in these cases. To handle this without massive 153 must be retried in these cases. To handle this without massive
154 changes in the source code, we remap the standard system call names 154 changes in the source code, we remap the standard system call names
diff --git a/src/s/xenix.h b/src/s/xenix.h
index 83d48a1b56e..3560e172c62 100644
--- a/src/s/xenix.h
+++ b/src/s/xenix.h
@@ -51,7 +51,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
51 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 51 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
52 52
53 SIGIO can be used only on systems that implement it (4.2 and 4.3). 53 SIGIO can be used only on systems that implement it (4.2 and 4.3).
54 CBREAK mode has two disadvatages 54 CBREAK mode has two disadvantages:
55 1) At least in 4.2, it is impossible to handle the Meta key properly. 55 1) At least in 4.2, it is impossible to handle the Meta key properly.
56 I hear that in system V this problem does not exist. 56 I hear that in system V this problem does not exist.
57 2) Control-G causes output to be discarded. 57 2) Control-G causes output to be discarded.
@@ -180,7 +180,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
180#define _setjmp setjmp 180#define _setjmp setjmp
181#define _longjmp longjmp 181#define _longjmp longjmp
182 182
183/* On USG systems the system calls are interruptable by signals 183/* On USG systems the system calls are interruptible by signals
184 that the user program has elected to catch. Thus the system call 184 that the user program has elected to catch. Thus the system call
185 must be retried in these cases. To handle this without massive 185 must be retried in these cases. To handle this without massive
186 changes in the source code, we remap the standard system call names 186 changes in the source code, we remap the standard system call names
diff --git a/src/search.c b/src/search.c
index 99e3c40f58a..d9c4554cb92 100644
--- a/src/search.c
+++ b/src/search.c
@@ -943,7 +943,7 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt)
943 while ((limit - pos) * direction >= 0) 943 while ((limit - pos) * direction >= 0)
944 pos += BM_tab[FETCH_CHAR(pos)]; 944 pos += BM_tab[FETCH_CHAR(pos)];
945 /* now run the same tests to distinguish going off the */ 945 /* now run the same tests to distinguish going off the */
946 /* end, a match or a phoney match. */ 946 /* end, a match or a phony match. */
947 if ((pos - limit) * direction <= len) 947 if ((pos - limit) * direction <= len)
948 break; /* ran off the end */ 948 break; /* ran off the end */
949 /* Found what might be a match. 949 /* Found what might be a match.
diff --git a/src/sunfns.c b/src/sunfns.c
index 5fcf6f6cf0b..45c0d6deb90 100644
--- a/src/sunfns.c
+++ b/src/sunfns.c
@@ -85,7 +85,7 @@ static mpr_static(ArrowCursorMpr, 16, 16, 1, ArrowCursorData);
85struct cursor DefaultCursor = {15, 0, PIX_SRC ^ PIX_DST, &ArrowCursorMpr}; 85struct cursor DefaultCursor = {15, 0, PIX_SRC ^ PIX_DST, &ArrowCursorMpr};
86 86
87#else 87#else
88/* The default left-arror cursor, with XOR drawing. */ 88/* The default left-arrow cursor, with XOR drawing. */
89static short ArrowCursorData[16] = { 89static short ArrowCursorData[16] = {
90 0x8000,0xC000,0xE000,0xF000,0xF800,0xFC00,0xFE00,0xF000, 90 0x8000,0xC000,0xE000,0xF000,0xF800,0xFC00,0xFE00,0xF000,
91 0xD800,0x9800,0x0C00,0x0C00,0x0600,0x0600,0x0300,0x0300}; 91 0xD800,0x9800,0x0C00,0x0C00,0x0600,0x0600,0x0300,0x0300};
@@ -291,7 +291,7 @@ sel_read (sel, file)
291 return(-1); 291 return(-1);
292 } 292 }
293 /* 293 /*
294 * The shelltool select saves newlines as carrige returns, 294 * The shelltool select saves newlines as carriage returns,
295 * but emacs wants newlines. 295 * but emacs wants newlines.
296 */ 296 */
297 for (i = 0; i < n; i++) 297 for (i = 0; i < n; i++)
diff --git a/src/syntax.c b/src/syntax.c
index 9b711327448..db60b8f09f5 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -774,7 +774,7 @@ between them, return t; otherwise return nil.")
774 } 774 }
775 775
776 /* If we find another earlier comment-ender, 776 /* If we find another earlier comment-ender,
777 any comment-starts earier than that don't count 777 any comment-starts earlier than that don't count
778 (because they go with the earlier comment-ender). */ 778 (because they go with the earlier comment-ender). */
779 if (code == Sendcomment 779 if (code == Sendcomment
780 && SYNTAX_COMMENT_STYLE (FETCH_CHAR (from)) == comstyle) 780 && SYNTAX_COMMENT_STYLE (FETCH_CHAR (from)) == comstyle)
@@ -1161,7 +1161,7 @@ scan_lists (from, count, depth, sexpflag)
1161 } 1161 }
1162 1162
1163 /* If we find another earlier comment-ender, 1163 /* If we find another earlier comment-ender,
1164 any comment-starts earier than that don't count 1164 any comment-starts earlier than that don't count
1165 (because they go with the earlier comment-ender). */ 1165 (because they go with the earlier comment-ender). */
1166 if (code == Sendcomment 1166 if (code == Sendcomment
1167 && SYNTAX_COMMENT_STYLE (FETCH_CHAR (from)) == comstyle) 1167 && SYNTAX_COMMENT_STYLE (FETCH_CHAR (from)) == comstyle)
diff --git a/src/sysdep.c b/src/sysdep.c
index 982d361ae2a..b7aa5d4bf0e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -437,7 +437,7 @@ child_setup_tty (out)
437 s.main.c_oflag &= ~OLCUC; /* Disable map of lower case to upper on 437 s.main.c_oflag &= ~OLCUC; /* Disable map of lower case to upper on
438 output */ 438 output */
439#if 0 439#if 0
440 /* Said to be unnecesary: */ 440 /* Said to be unnecessary: */
441 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */ 441 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */
442 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */ 442 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */
443#endif 443#endif
@@ -697,7 +697,7 @@ reset_sigio ()
697 unrequest_sigio (); 697 unrequest_sigio ();
698} 698}
699 699
700#ifdef FASYNC /* F_SETFL does not imply existance of FASYNC */ 700#ifdef FASYNC /* F_SETFL does not imply existence of FASYNC */
701 701
702request_sigio () 702request_sigio ()
703{ 703{
@@ -830,7 +830,7 @@ emacs_set_tty (fd, settings, waitp)
830 of the requested actions could not be performed. 830 of the requested actions could not be performed.
831 We must read settings back to ensure tty setup properly. 831 We must read settings back to ensure tty setup properly.
832 AIX requires this to keep tty from hanging occasionally." */ 832 AIX requires this to keep tty from hanging occasionally." */
833 /* This make sure that we dont loop indefinetly in here. */ 833 /* This make sure that we don't loop indefinitely in here. */
834 for (i = 0 ; i < 10 ; i++) 834 for (i = 0 ; i < 10 ; i++)
835 if (tcsetattr (fd, waitp ? TCSAFLUSH : TCSADRAIN, &settings->main) < 0) 835 if (tcsetattr (fd, waitp ? TCSAFLUSH : TCSADRAIN, &settings->main) < 0)
836 { 836 {
@@ -1162,7 +1162,7 @@ init_sys_modes ()
1162 } 1162 }
1163 1163
1164#ifdef F_SETFL 1164#ifdef F_SETFL
1165#ifdef F_GETOWN /* F_SETFL does not imply existance of F_GETOWN */ 1165#ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */
1166 if (interrupt_input) 1166 if (interrupt_input)
1167 { 1167 {
1168 old_fcntl_owner = fcntl (0, F_GETOWN, 0); 1168 old_fcntl_owner = fcntl (0, F_GETOWN, 0);
@@ -1311,7 +1311,7 @@ reset_sys_modes ()
1311#endif 1311#endif
1312 1312
1313#ifdef F_SETFL 1313#ifdef F_SETFL
1314#ifdef F_SETOWN /* F_SETFL does not imply existance of F_SETOWN */ 1314#ifdef F_SETOWN /* F_SETFL does not imply existence of F_SETOWN */
1315 if (interrupt_input) 1315 if (interrupt_input)
1316 { 1316 {
1317 reset_sigio (); 1317 reset_sigio ();
@@ -2395,7 +2395,7 @@ sys_abort ()
2395#ifdef VMS 2395#ifdef VMS
2396#ifdef LINK_CRTL_SHARE 2396#ifdef LINK_CRTL_SHARE
2397#ifdef SHAREABLE_LIB_BUG 2397#ifdef SHAREABLE_LIB_BUG
2398/* Variables declared noshare and initialized in shareable libraries 2398/* Variables declared noshare and initialized in sharable libraries
2399 cannot be shared. The VMS linker incorrectly forces you to use a private 2399 cannot be shared. The VMS linker incorrectly forces you to use a private
2400 version which is uninitialized... If not for this "feature", we 2400 version which is uninitialized... If not for this "feature", we
2401 could use the C library definition of sys_nerr and sys_errlist. */ 2401 could use the C library definition of sys_nerr and sys_errlist. */
@@ -2516,7 +2516,7 @@ sys_write (fildes, buf, nbyte)
2516 * to names for our own functions in sysdep.c that do the system call 2516 * to names for our own functions in sysdep.c that do the system call
2517 * with retries. Actually, for portability reasons, it is good 2517 * with retries. Actually, for portability reasons, it is good
2518 * programming practice, as this example shows, to limit all actual 2518 * programming practice, as this example shows, to limit all actual
2519 * system calls to a single occurance in the source. Sure, this 2519 * system calls to a single occurrence in the source. Sure, this
2520 * adds an extra level of function call overhead but it is almost 2520 * adds an extra level of function call overhead but it is almost
2521 * always negligible. Fred Fish, Unisoft Systems Inc. 2521 * always negligible. Fred Fish, Unisoft Systems Inc.
2522 */ 2522 */
@@ -2802,7 +2802,7 @@ char *sys_siglist[NSIG + 1] =
2802 "power-fail restart", /* 19 SIGPWR */ 2802 "power-fail restart", /* 19 SIGPWR */
2803 "window size changed", /* 20 SIGWINCH */ 2803 "window size changed", /* 20 SIGWINCH */
2804 "undefined", /* 21 */ 2804 "undefined", /* 21 */
2805 "pollable event occured", /* 22 SIGPOLL */ 2805 "pollable event occurred", /* 22 SIGPOLL */
2806 "sendable stop signal not from tty", /* 23 SIGSTOP */ 2806 "sendable stop signal not from tty", /* 23 SIGSTOP */
2807 "stop signal from tty", /* 24 SIGSTP */ 2807 "stop signal from tty", /* 24 SIGSTP */
2808 "continue a stopped process", /* 25 SIGCONT */ 2808 "continue a stopped process", /* 25 SIGCONT */
@@ -3574,7 +3574,7 @@ creat_copy_attrs (old, new)
3574sys_creat (va_alist) 3574sys_creat (va_alist)
3575 va_dcl 3575 va_dcl
3576{ 3576{
3577 va_list list_incrementor; 3577 va_list list_incrementer;
3578 char *name; 3578 char *name;
3579 int mode; 3579 int mode;
3580 int rfd; /* related file descriptor */ 3580 int rfd; /* related file descriptor */
@@ -3588,12 +3588,12 @@ sys_creat (va_alist)
3588 extern int vms_stmlf_recfm; 3588 extern int vms_stmlf_recfm;
3589 3589
3590 va_count (count); 3590 va_count (count);
3591 va_start (list_incrementor); 3591 va_start (list_incrementer);
3592 name = va_arg (list_incrementor, char *); 3592 name = va_arg (list_incrementer, char *);
3593 mode = va_arg (list_incrementor, int); 3593 mode = va_arg (list_incrementer, int);
3594 if (count > 2) 3594 if (count > 2)
3595 rfd = va_arg (list_incrementor, int); 3595 rfd = va_arg (list_incrementer, int);
3596 va_end (list_incrementor); 3596 va_end (list_incrementer);
3597 if (count > 2) 3597 if (count > 2)
3598 { 3598 {
3599 /* Use information from the related file descriptor to set record 3599 /* Use information from the related file descriptor to set record
@@ -4102,7 +4102,7 @@ rename (from, to)
4102 are renaming. 4102 are renaming.
4103 4103
4104 We could use the chmod function, but Eunichs uses 3 bits per user category 4104 We could use the chmod function, but Eunichs uses 3 bits per user category
4105 to describe the protection, and VMS uses 4 (write and delete are seperate 4105 to describe the protection, and VMS uses 4 (write and delete are separate
4106 bits). To maintain portability, the VMS implementation of `chmod' wires 4106 bits). To maintain portability, the VMS implementation of `chmod' wires
4107 the W and D bits together. */ 4107 the W and D bits together. */
4108 4108
diff --git a/src/systty.h b/src/systty.h
index 1324286c7fb..b07bfa27860 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -164,7 +164,7 @@ static struct sensemode {
164#undef ASYNC 164#undef ASYNC
165#endif 165#endif
166 166
167/* Interupt input is not used if there is no FIONREAD. */ 167/* Interrupt input is not used if there is no FIONREAD. */
168#ifndef FIONREAD 168#ifndef FIONREAD
169#undef SIGIO 169#undef SIGIO
170#endif 170#endif
diff --git a/src/term.c b/src/term.c
index 911f9f1feee..e84ab1c3c9e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -40,7 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
40#define OUTPUT_IF(a) { if (a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc); } 40#define OUTPUT_IF(a) { if (a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc); }
41#define OUTPUT1_IF(a) { if (a) tputs (a, 1, cmputc); } 41#define OUTPUT1_IF(a) { if (a) tputs (a, 1, cmputc); }
42 42
43/* Terminal charateristics that higher levels want to look at. 43/* Terminal characteristics that higher levels want to look at.
44 These are all extern'd in termchar.h */ 44 These are all extern'd in termchar.h */
45 45
46int must_write_spaces; /* Nonzero means spaces in the text 46int must_write_spaces; /* Nonzero means spaces in the text
@@ -1255,7 +1255,7 @@ term_get_fkeys (address)
1255 1255
1256 /* The uses of the "k0" capability are inconsistent; sometimes it 1256 /* The uses of the "k0" capability are inconsistent; sometimes it
1257 describes F10, whereas othertimes it describes F0 and "k;" describes F10. 1257 describes F10, whereas othertimes it describes F0 and "k;" describes F10.
1258 We will attempt to politely accomodate both systems by testing for 1258 We will attempt to politely accommodate both systems by testing for
1259 "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10. 1259 "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10.
1260 */ 1260 */
1261 { 1261 {
diff --git a/src/termopts.h b/src/termopts.h
index 489b786b248..d462ca6215f 100644
--- a/src/termopts.h
+++ b/src/termopts.h
@@ -1,4 +1,4 @@
1/* Flags and paramaters describing user options for handling the terminal. 1/* Flags and parameters describing user options for handling the terminal.
2 Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
diff --git a/src/textprop.c b/src/textprop.c
index 89b882b511d..865f35c5fed 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -32,7 +32,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
32 It is assumed that for any interval plist, a property appears 32 It is assumed that for any interval plist, a property appears
33 only once on the list. Although some code i.e., remove_properties, 33 only once on the list. Although some code i.e., remove_properties,
34 handles the more general case, the uniqueness of properties is 34 handles the more general case, the uniqueness of properties is
35 neccessary for the system to remain consistent. This requirement 35 necessary for the system to remain consistent. This requirement
36 is enforced by the subrs installing properties onto the intervals. */ 36 is enforced by the subrs installing properties onto the intervals. */
37 37
38/* The rest of the file is within this conditional */ 38/* The rest of the file is within this conditional */
diff --git a/src/unexaix.c b/src/unexaix.c
index 3deca01b665..9fa10e3a912 100644
--- a/src/unexaix.c
+++ b/src/unexaix.c
@@ -669,7 +669,7 @@ copy_sym (new, a_out, a_name, new_name)
669/* **************************************************************** 669/* ****************************************************************
670 * mark_x 670 * mark_x
671 * 671 *
672 * After succesfully building the new a.out, mark it executable 672 * After successfully building the new a.out, mark it executable
673 */ 673 */
674static void 674static void
675mark_x (name) 675mark_x (name)
diff --git a/src/unexconvex.c b/src/unexconvex.c
index 09a7dfff400..3be4b86f1ff 100644
--- a/src/unexconvex.c
+++ b/src/unexconvex.c
@@ -438,7 +438,7 @@ make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name)
438 438
439 for( scns = 0; scns < f_hdr.h_nscns; scns++ ) { 439 for( scns = 0; scns < f_hdr.h_nscns; scns++ ) {
440 440
441 /* This is a cheesey little loop to write out the section headers 441 /* This is a cheesy little loop to write out the section headers
442 * in order of increasing virtual address. Dull but effective. 442 * in order of increasing virtual address. Dull but effective.
443 */ 443 */
444 444
@@ -561,7 +561,7 @@ copy_sym (new, a_out, a_name, new_name)
561/* **************************************************************** 561/* ****************************************************************
562 * mark_x 562 * mark_x
563 * 563 *
564 * After succesfully building the new a.out, mark it executable 564 * After successfully building the new a.out, mark it executable
565 */ 565 */
566static 566static
567mark_x (name) 567mark_x (name)
diff --git a/src/unexec.c b/src/unexec.c
index e8906fe68ad..c07bc1a4be2 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -603,7 +603,7 @@ make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name)
603 * .lib), adjust the address of where the section data is in the 603 * .lib), adjust the address of where the section data is in the
604 * file, and write out the header. 604 * file, and write out the header.
605 * 605 *
606 * If any section preceeds .text or .data in the file, this code 606 * If any section precedes .text or .data in the file, this code
607 * will not adjust the file pointer for that section correctly. 607 * will not adjust the file pointer for that section correctly.
608 */ 608 */
609 609
@@ -946,7 +946,7 @@ copy_sym (new, a_out, a_name, new_name)
946/* **************************************************************** 946/* ****************************************************************
947 * mark_x 947 * mark_x
948 * 948 *
949 * After succesfully building the new a.out, mark it executable 949 * After successfully building the new a.out, mark it executable
950 */ 950 */
951static void 951static void
952mark_x (name) 952mark_x (name)
diff --git a/src/unexenix.c b/src/unexenix.c
index ea6cd7d5c20..f20e7cc502f 100644
--- a/src/unexenix.c
+++ b/src/unexenix.c
@@ -228,7 +228,7 @@ copyrec (infd, outfd, len, in_name, out_name)
228/* 228/*
229 * mark_x 229 * mark_x
230 * 230 *
231 * After succesfully building the new a.out, mark it executable 231 * After successfully building the new a.out, mark it executable
232 */ 232 */
233static 233static
234mark_x (name) 234mark_x (name)
diff --git a/src/unexmips.c b/src/unexmips.c
index 4eeee03f736..292f0210c53 100644
--- a/src/unexmips.c
+++ b/src/unexmips.c
@@ -281,7 +281,7 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
281/* 281/*
282 * mark_x 282 * mark_x
283 * 283 *
284 * After succesfully building the new a.out, mark it executable 284 * After successfully building the new a.out, mark it executable
285 */ 285 */
286 286
287static void 287static void
diff --git a/src/unexsunos4.c b/src/unexsunos4.c
index b5d80829dc5..c8dff3482dd 100644
--- a/src/unexsunos4.c
+++ b/src/unexsunos4.c
@@ -106,8 +106,8 @@ unexec (new_name, a_name, bndry, bss_start, entry)
106 106
107 107
108 /* 108 /*
109 * Remeber a magic cookie so we know we've got the right binary 109 * Remember a magic cookie so we know we've got the right binary
110 * when remaping. 110 * when remapping.
111 */ 111 */
112 cookie = time (0); 112 cookie = time (0);
113 113
diff --git a/src/xfns.c b/src/xfns.c
index bb505e7962d..e46053ba163 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -584,7 +584,7 @@ x_set_mouse_color (f, arg, oldval)
584 BLOCK_INPUT; 584 BLOCK_INPUT;
585#ifdef HAVE_X11 585#ifdef HAVE_X11
586 586
587 /* It's not okay to crash if the user selects a screwey cursor. */ 587 /* It's not okay to crash if the user selects a screwy cursor. */
588 x_catch_errors (); 588 x_catch_errors ();
589 589
590 if (!EQ (Qnil, Vx_pointer_shape)) 590 if (!EQ (Qnil, Vx_pointer_shape))
@@ -1856,7 +1856,7 @@ be shared by the new frame.")
1856 f->display.x = (struct x_display *) xmalloc (sizeof (struct x_display)); 1856 f->display.x = (struct x_display *) xmalloc (sizeof (struct x_display));
1857 bzero (f->display.x, sizeof (struct x_display)); 1857 bzero (f->display.x, sizeof (struct x_display));
1858 1858
1859 /* Some temprorary default values for height and width. */ 1859 /* Some temporary default values for height and width. */
1860 width = 80; 1860 width = 80;
1861 height = 40; 1861 height = 40;
1862 f->display.x->left_pos = -1; 1862 f->display.x->left_pos = -1;
@@ -2821,7 +2821,7 @@ clip_contour_top (y_pos, x_pos)
2821 } 2821 }
2822} 2822}
2823 2823
2824/* Erase the top horzontal lines of the contour, and then extend 2824/* Erase the top horizontal lines of the contour, and then extend
2825 the contour upwards. */ 2825 the contour upwards. */
2826 2826
2827static void 2827static void
diff --git a/src/xselect.c b/src/xselect.c
index 73394f18a7d..31113acd38e 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1614,7 +1614,7 @@ Disowning it means there is no such selection.")
1614 XSetSelectionOwner (display, selection_atom, None, timestamp); 1614 XSetSelectionOwner (display, selection_atom, None, timestamp);
1615 UNBLOCK_INPUT; 1615 UNBLOCK_INPUT;
1616 1616
1617 /* It doesn't seem to be guarenteed that a SelectionClear event will be 1617 /* It doesn't seem to be guaranteed that a SelectionClear event will be
1618 generated for a window which owns the selection when that window sets 1618 generated for a window which owns the selection when that window sets
1619 the selection owner to None. The NCD server does, the MIT Sun4 server 1619 the selection owner to None. The NCD server does, the MIT Sun4 server
1620 doesn't. So we synthesize one; this means we might get two, but 1620 doesn't. So we synthesize one; this means we might get two, but
diff --git a/src/xterm.c b/src/xterm.c
index f07c12483ca..9900ab08884 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -703,7 +703,7 @@ XTclear_frame ()
703/* Invert the middle quarter of the frame for .15 sec. */ 703/* Invert the middle quarter of the frame for .15 sec. */
704 704
705/* We use the select system call to do the waiting, so we have to make sure 705/* We use the select system call to do the waiting, so we have to make sure
706 it's avaliable. If it isn't, we just won't do visual bells. */ 706 it's available. If it isn't, we just won't do visual bells. */
707#if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT) 707#if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT)
708 708
709/* Subtract the `struct timeval' values X and Y, 709/* Subtract the `struct timeval' values X and Y,
@@ -1288,7 +1288,7 @@ static void XTframe_rehighlight ();
1288/* The focus has changed. Update the frames as necessary to reflect 1288/* The focus has changed. Update the frames as necessary to reflect
1289 the new situation. Note that we can't change the selected frame 1289 the new situation. Note that we can't change the selected frame
1290 here, because the lisp code we are interrupting might become confused. 1290 here, because the lisp code we are interrupting might become confused.
1291 Each event gets marked with the frame in which it occured, so the 1291 Each event gets marked with the frame in which it occurred, so the
1292 lisp code can tell when the switch took place by examining the events. */ 1292 lisp code can tell when the switch took place by examining the events. */
1293 1293
1294static void 1294static void
@@ -1629,7 +1629,7 @@ static XRectangle last_mouse_glyph;
1629 1629
1630/* The scroll bar in which the last X motion event occurred. 1630/* The scroll bar in which the last X motion event occurred.
1631 1631
1632 If the last X motion event occured in a scroll bar, we set this 1632 If the last X motion event occurred in a scroll bar, we set this
1633 so XTmouse_position can know whether to report a scroll bar motion or 1633 so XTmouse_position can know whether to report a scroll bar motion or
1634 an ordinary motion. 1634 an ordinary motion.
1635 1635
@@ -2027,7 +2027,7 @@ x_scroll_bar_set_handle (bar, start, end, rebuild)
2027 UNBLOCK_INPUT; 2027 UNBLOCK_INPUT;
2028} 2028}
2029 2029
2030/* Move a scroll bar around on the screen, to accomodate changing 2030/* Move a scroll bar around on the screen, to accommodate changing
2031 window configurations. */ 2031 window configurations. */
2032static void 2032static void
2033x_scroll_bar_move (bar, top, left, width, height) 2033x_scroll_bar_move (bar, top, left, width, height)
@@ -2335,7 +2335,7 @@ x_scroll_bar_handle_click (bar, event, emacs_event)
2335 2335
2336 /* Same deal here as the other #if 0. */ 2336 /* Same deal here as the other #if 0. */
2337#if 0 2337#if 0
2338 /* Clicks on the handle are always reported as occuring at the top of 2338 /* Clicks on the handle are always reported as occurring at the top of
2339 the handle. */ 2339 the handle. */
2340 if (emacs_event->part == scroll_bar_handle) 2340 if (emacs_event->part == scroll_bar_handle)
2341 emacs_event->x = bar->start; 2341 emacs_event->x = bar->start;
@@ -4314,7 +4314,7 @@ x_make_frame_invisible (f)
4314 DefaultScreen (x_current_display))) 4314 DefaultScreen (x_current_display)))
4315 { 4315 {
4316 UNBLOCK_INPUT_RESIGNAL; 4316 UNBLOCK_INPUT_RESIGNAL;
4317 error ("can't notify window manager of window withdrawl"); 4317 error ("can't notify window manager of window withdrawal");
4318 } 4318 }
4319 4319
4320#else /* ! defined (HAVE_X11R4) */ 4320#else /* ! defined (HAVE_X11R4) */
diff --git a/src/xterm.h b/src/xterm.h
index 9608a543cf6..2e3247d61d9 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -488,7 +488,7 @@ struct scroll_bar {
488 (used when relating to the rest of the screen) and inside width 488 (used when relating to the rest of the screen) and inside width
489 (used when sizing and drawing the scroll bar window itself). 489 (used when sizing and drawing the scroll bar window itself).
490 490
491 The handle moves up and down/back and forth in a rectange inset 491 The handle moves up and down/back and forth in a rectangle inset
492 from the edges of the scroll bar. These are widths by which we 492 from the edges of the scroll bar. These are widths by which we
493 inset the handle boundaries from the scroll bar edges. */ 493 inset the handle boundaries from the scroll bar edges. */
494#define VERTICAL_SCROLL_BAR_LEFT_BORDER (2) 494#define VERTICAL_SCROLL_BAR_LEFT_BORDER (2)