aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1996-01-05 10:03:17 +0000
committerKarl Heuer1996-01-05 10:03:17 +0000
commit8e6208c5d2c91d70f2338d1c3d788e194c6c9d52 (patch)
tree8f5bfe00dcb80384d562fad62d2166df9b06bec0 /src
parent34035df32674d5a6a4eb4112dfa5ea69b4dec64f (diff)
downloademacs-8e6208c5d2c91d70f2338d1c3d788e194c6c9d52.tar.gz
emacs-8e6208c5d2c91d70f2338d1c3d788e194c6c9d52.zip
Comment fixes.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
-rw-r--r--src/alloc.c4
-rw-r--r--src/callproc.c2
-rw-r--r--src/data.c2
-rw-r--r--src/dired.c4
-rw-r--r--src/fileio.c6
-rw-r--r--src/floatfns.c2
-rw-r--r--src/insdel.c2
-rw-r--r--src/intervals.c8
-rw-r--r--src/keyboard.c2
-rw-r--r--src/lread.c4
-rw-r--r--src/m/pmax.h2
-rw-r--r--src/m/tower32.h2
-rw-r--r--src/m/windowsnt.h2
-rw-r--r--src/msdos.c4
-rw-r--r--src/print.c2
-rw-r--r--src/process.c2
-rw-r--r--src/process.h2
-rw-r--r--src/ralloc.c16
-rw-r--r--src/s/cxux.h4
-rw-r--r--src/s/dgux5-4-3.h2
-rw-r--r--src/s/hpux9.h2
-rw-r--r--src/s/msdos.h2
-rw-r--r--src/search.c2
-rw-r--r--src/term.c2
-rw-r--r--src/textprop.c2
-rw-r--r--src/unexec.c4
-rw-r--r--src/unexw32.c2
-rw-r--r--src/vms-pp.c2
-rw-r--r--src/vmsgmalloc.c2
-rw-r--r--src/vmsproc.c2
-rw-r--r--src/w32faces.c2
-rw-r--r--src/w32menu.c6
-rw-r--r--src/w32proc.c2
-rw-r--r--src/widget.c2
-rw-r--r--src/xdisp.c4
-rw-r--r--src/xfaces.c2
-rw-r--r--src/xmenu.c4
38 files changed, 60 insertions, 60 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index b707fa9e8e4..94817d280f4 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -232,7 +232,7 @@ STARTFILES = START_FILES
232 which will be in a file named localcpp. */ 232 which will be in a file named localcpp. */
233MYCPPFLAG= -Blocal 233MYCPPFLAG= -Blocal
234/* LOCALCPP is the local one or nothing. 234/* LOCALCPP is the local one or nothing.
235 CPP is the local one or the standardone. */ 235 CPP is the local one or the standard one. */
236LOCALCPP= localcpp 236LOCALCPP= localcpp
237#endif /* ! defined (LONGNAMEBBBARFOOX) */ 237#endif /* ! defined (LONGNAMEBBBARFOOX) */
238 238
diff --git a/src/alloc.c b/src/alloc.c
index 06b1cdaf814..e911dfce35c 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -151,7 +151,7 @@ Lisp_Object memory_signal_data;
151/* Define DONT_COPY_FLAG to be some bit which will always be zero in a 151/* Define DONT_COPY_FLAG to be some bit which will always be zero in a
152 pointer to a Lisp_Object, when that pointer is viewed as an integer. 152 pointer to a Lisp_Object, when that pointer is viewed as an integer.
153 (On most machines, pointers are even, so we can use the low bit. 153 (On most machines, pointers are even, so we can use the low bit.
154 Word-addressible architectures may need to override this in the m-file.) 154 Word-addressable architectures may need to override this in the m-file.)
155 When linking references to small strings through the size field, we 155 When linking references to small strings through the size field, we
156 use this slot to hold the bit that would otherwise be interpreted as 156 use this slot to hold the bit that would otherwise be interpreted as
157 the GC mark bit. */ 157 the GC mark bit. */
@@ -2157,7 +2157,7 @@ gc_sweep ()
2157 2157
2158#ifndef standalone 2158#ifndef standalone
2159 /* Put all unmarked markers on free list. 2159 /* Put all unmarked markers on free list.
2160 Dechain each one first from the buffer it points into, 2160 Unchain each one first from the buffer it points into,
2161 but only if it's a real marker. */ 2161 but only if it's a real marker. */
2162 { 2162 {
2163 register struct marker_block *mblk; 2163 register struct marker_block *mblk;
diff --git a/src/callproc.c b/src/callproc.c
index 2efff15d348..25b917c9c05 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -509,7 +509,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
509 { 509 {
510 /* Repeatedly read until we've filled as much as possible 510 /* Repeatedly read until we've filled as much as possible
511 of the buffer size we have. But don't read 511 of the buffer size we have. But don't read
512 less than 1024--save that for the next bufferfull. */ 512 less than 1024--save that for the next bufferful. */
513 513
514 nread = 0; 514 nread = 0;
515 while (nread < bufsize - 1024) 515 while (nread < bufsize - 1024)
diff --git a/src/data.c b/src/data.c
index 10cd316cf78..b0229430141 100644
--- a/src/data.c
+++ b/src/data.c
@@ -862,7 +862,7 @@ swap_in_symval_forwarding (sym, valcontents)
862 862
863/* Find the value of a symbol, returning Qunbound if it's not bound. 863/* Find the value of a symbol, returning Qunbound if it's not bound.
864 This is helpful for code which just wants to get a variable's value 864 This is helpful for code which just wants to get a variable's value
865 if it has one, without signalling an error. 865 if it has one, without signaling an error.
866 Note that it must not be possible to quit 866 Note that it must not be possible to quit
867 within this function. Great care is required for this. */ 867 within this function. Great care is required for this. */
868 868
diff --git a/src/dired.c b/src/dired.c
index 8e6add1f6e8..54ba7437912 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -152,7 +152,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\
152 CHECK_STRING (match, 3); 152 CHECK_STRING (match, 3);
153 153
154 /* MATCH might be a flawed regular expression. Rather than 154 /* MATCH might be a flawed regular expression. Rather than
155 catching and signalling our own errors, we just call 155 catching and signaling our own errors, we just call
156 compile_pattern to do the work for us. */ 156 compile_pattern to do the work for us. */
157#ifdef VMS 157#ifdef VMS
158 bufp = compile_pattern (match, 0, 158 bufp = compile_pattern (match, 0,
@@ -166,7 +166,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\
166 which might compile a new regexp until we're done with the loop! */ 166 which might compile a new regexp until we're done with the loop! */
167 167
168 /* Do this opendir after anything which might signal an error; if 168 /* Do this opendir after anything which might signal an error; if
169 an error is signalled while the directory stream is open, we 169 an error is signaled while the directory stream is open, we
170 have to make sure it gets closed, and setting up an 170 have to make sure it gets closed, and setting up an
171 unwind_protect to do so would be a pain. */ 171 unwind_protect to do so would be a pain. */
172 d = opendir (XSTRING (dirfilename)->data); 172 d = opendir (XSTRING (dirfilename)->data);
diff --git a/src/fileio.c b/src/fileio.c
index 921ccf96501..6faf1563959 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2936,7 +2936,7 @@ and (2) it puts less data in the undo list.")
2936 && FETCH_CHAR (same_at_start) == buffer[bufpos]) 2936 && FETCH_CHAR (same_at_start) == buffer[bufpos])
2937 same_at_start++, bufpos++; 2937 same_at_start++, bufpos++;
2938 /* If we found a discrepancy, stop the scan. 2938 /* If we found a discrepancy, stop the scan.
2939 Otherwise loop around and scan the next bufferfull. */ 2939 Otherwise loop around and scan the next bufferful. */
2940 if (bufpos != nread) 2940 if (bufpos != nread)
2941 break; 2941 break;
2942 } 2942 }
@@ -2979,7 +2979,7 @@ and (2) it puts less data in the undo list.")
2979 XSTRING (filename)->data, strerror (errno)); 2979 XSTRING (filename)->data, strerror (errno));
2980 total_read += nread; 2980 total_read += nread;
2981 } 2981 }
2982 /* Scan this bufferfull from the end, comparing with 2982 /* Scan this bufferful from the end, comparing with
2983 the Emacs buffer. */ 2983 the Emacs buffer. */
2984 bufpos = total_read; 2984 bufpos = total_read;
2985 /* Compare with same_at_start to avoid counting some buffer text 2985 /* Compare with same_at_start to avoid counting some buffer text
@@ -2988,7 +2988,7 @@ and (2) it puts less data in the undo list.")
2988 && FETCH_CHAR (same_at_end - 1) == buffer[bufpos - 1]) 2988 && FETCH_CHAR (same_at_end - 1) == buffer[bufpos - 1])
2989 same_at_end--, bufpos--; 2989 same_at_end--, bufpos--;
2990 /* If we found a discrepancy, stop the scan. 2990 /* If we found a discrepancy, stop the scan.
2991 Otherwise loop around and scan the preceding bufferfull. */ 2991 Otherwise loop around and scan the preceding bufferful. */
2992 if (bufpos != 0) 2992 if (bufpos != 0)
2993 break; 2993 break;
2994 /* If display current starts at beginning of line, 2994 /* If display current starts at beginning of line,
diff --git a/src/floatfns.c b/src/floatfns.c
index 4a9e969a8a2..f26e6945bf0 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -37,7 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
37 (What systems actually do this? Please let us know.) 37 (What systems actually do this? Please let us know.)
38 38
39 Define FLOAT_CHECK_DOMAIN if the float library doesn't handle errors by 39 Define FLOAT_CHECK_DOMAIN if the float library doesn't handle errors by
40 either setting errno, or signalling SIGFPE/SIGILL. Otherwise, domain and 40 either setting errno, or signaling SIGFPE/SIGILL. Otherwise, domain and
41 range checking will happen before calling the float routines. This has 41 range checking will happen before calling the float routines. This has
42 no effect if HAVE_MATHERR is defined (since matherr will be called when 42 no effect if HAVE_MATHERR is defined (since matherr will be called when
43 a domain error occurs.) 43 a domain error occurs.)
diff --git a/src/insdel.c b/src/insdel.c
index a33e4be616f..b74ebe74947 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -271,7 +271,7 @@ adjust_markers_for_insert (pos, amount)
271 a conceptual change in point as a marker. In particular, point is 271 a conceptual change in point as a marker. In particular, point is
272 not crossing any interval boundaries, so there's no need to use the 272 not crossing any interval boundaries, so there's no need to use the
273 usual SET_PT macro. In fact it would be incorrect to do so, because 273 usual SET_PT macro. In fact it would be incorrect to do so, because
274 either the old or the new value of point is out of synch with the 274 either the old or the new value of point is out of sync with the
275 current set of intervals. */ 275 current set of intervals. */
276static void 276static void
277adjust_point (amount) 277adjust_point (amount)
diff --git a/src/intervals.c b/src/intervals.c
index 279d8e6739a..1d528058498 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -680,7 +680,7 @@ previous_interval (interval)
680 Modifications are needed to handle the hungry bits -- after simply 680 Modifications are needed to handle the hungry bits -- after simply
681 finding the interval at position (don't add length going down), 681 finding the interval at position (don't add length going down),
682 if it's the beginning of the interval, get the previous interval 682 if it's the beginning of the interval, get the previous interval
683 and check the hugry bits of both. Then add the length going back up 683 and check the hungry bits of both. Then add the length going back up
684 to the root. */ 684 to the root. */
685 685
686static INTERVAL 686static INTERVAL
@@ -793,7 +793,7 @@ adjust_intervals_for_insertion (tree, position, length)
793 793
794 /* Even if we are positioned between intervals, we default 794 /* Even if we are positioned between intervals, we default
795 to the left one if it exists. We extend it now and split 795 to the left one if it exists. We extend it now and split
796 off a part later, if stickyness demands it. */ 796 off a part later, if stickiness demands it. */
797 for (temp = prev ? prev : i;! NULL_INTERVAL_P (temp); temp = temp->parent) 797 for (temp = prev ? prev : i;! NULL_INTERVAL_P (temp); temp = temp->parent)
798 { 798 {
799 temp->total_length += length; 799 temp->total_length += length;
@@ -801,7 +801,7 @@ adjust_intervals_for_insertion (tree, position, length)
801 } 801 }
802 802
803 /* If at least one interval has sticky properties, 803 /* If at least one interval has sticky properties,
804 we check the stickyness property by property. */ 804 we check the stickiness property by property. */
805 if (END_NONSTICKY_P (prev) || FRONT_STICKY_P (i)) 805 if (END_NONSTICKY_P (prev) || FRONT_STICKY_P (i))
806 { 806 {
807 Lisp_Object pleft, pright; 807 Lisp_Object pleft, pright;
@@ -1516,7 +1516,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
1516 /* The inserted text "sticks" to the interval `under', 1516 /* The inserted text "sticks" to the interval `under',
1517 which means it gets those properties. 1517 which means it gets those properties.
1518 The properties of under are the result of 1518 The properties of under are the result of
1519 adjust_intervals_for_insertion, so stickyness has 1519 adjust_intervals_for_insertion, so stickiness has
1520 already been taken care of. */ 1520 already been taken care of. */
1521 1521
1522 while (! NULL_INTERVAL_P (over)) 1522 while (! NULL_INTERVAL_P (over))
diff --git a/src/keyboard.c b/src/keyboard.c
index f20631485ec..f4f06ecff6f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7138,7 +7138,7 @@ init_kboard (kb)
7138 7138
7139/* 7139/*
7140 * Destroy the contents of a kboard object, but not the object itself. 7140 * Destroy the contents of a kboard object, but not the object itself.
7141 * We use this just before deleteing it, or if we're going to initialize 7141 * We use this just before deleting it, or if we're going to initialize
7142 * it a second time. 7142 * it a second time.
7143 */ 7143 */
7144static void 7144static void
diff --git a/src/lread.c b/src/lread.c
index 8315b7ac711..a4660ab634c 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -264,7 +264,7 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii)
264 goto retry; 264 goto retry;
265 265
266 /* switch-frame events are put off until after the next ASCII 266 /* switch-frame events are put off until after the next ASCII
267 character. This is better than signalling an error just because 267 character. This is better than signaling an error just because
268 the last characters were typed to a separate minibuffer frame, 268 the last characters were typed to a separate minibuffer frame,
269 for example. Eventually, some code which can deal with 269 for example. Eventually, some code which can deal with
270 switch-frame events will read it and process it. */ 270 switch-frame events will read it and process it. */
@@ -2297,7 +2297,7 @@ init_lread ()
2297#ifndef WINDOWSNT 2297#ifndef WINDOWSNT
2298 /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is 2298 /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is
2299 almost never correct, thereby causing a warning to be printed out that 2299 almost never correct, thereby causing a warning to be printed out that
2300 confuses users. Since PATH_LOADSEARCH is always overriden by the 2300 confuses users. Since PATH_LOADSEARCH is always overridden by the
2301 EMACSLOADPATH environment variable below, disable the warning on NT. */ 2301 EMACSLOADPATH environment variable below, disable the warning on NT. */
2302 2302
2303 /* Warn if dirs in the *standard* path don't exist. */ 2303 /* Warn if dirs in the *standard* path don't exist. */
diff --git a/src/m/pmax.h b/src/m/pmax.h
index bbb7430dde8..ac54aec3e94 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -86,7 +86,7 @@ NOTE-END */
86 also solve the problem, but I doubt you can convince everyone to do this. */ 86 also solve the problem, but I doubt you can convince everyone to do this. */
87/* Addendum: the MIT X11 distribution neglects to define certain symbols 87/* Addendum: the MIT X11 distribution neglects to define certain symbols
88 when NeedFunctionPrototypes is 0, but still tries to use them when 88 when NeedFunctionPrototypes is 0, but still tries to use them when
89 NeedVarargsProrotypes is 1 (which is its default value). So if we're 89 NeedVarargsPrototypes is 1 (which is its default value). So if we're
90 going to disable non-variadic prototypes, we also need to disable 90 going to disable non-variadic prototypes, we also need to disable
91 variadic prototypes. --kwzh@gnu.ai.mit.edu */ 91 variadic prototypes. --kwzh@gnu.ai.mit.edu */
92#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 92#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
diff --git a/src/m/tower32.h b/src/m/tower32.h
index a59cffbdec4..ff424da070f 100644
--- a/src/m/tower32.h
+++ b/src/m/tower32.h
@@ -113,7 +113,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
113/* #define C_OPTIMIZE_SWITCH -O2 */ 113/* #define C_OPTIMIZE_SWITCH -O2 */
114 114
115/* emacs's magic number isn't temacs's; 115/* emacs's magic number isn't temacs's;
116 temacs is writeable text (the default!). */ 116 temacs is writable text (the default!). */
117 117
118#include <asld.h> 118#include <asld.h>
119#define EXEC_MAGIC AOUT1MAGIC 119#define EXEC_MAGIC AOUT1MAGIC
diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h
index 301f7e04a57..b34fa5ab01a 100644
--- a/src/m/windowsnt.h
+++ b/src/m/windowsnt.h
@@ -83,7 +83,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
83 Otherwise Emacs assumes that text space precedes data space, 83 Otherwise Emacs assumes that text space precedes data space,
84 numerically. */ 84 numerically. */
85 85
86/* Text does preceed data space, but this is never a safe assumption. */ 86/* Text does precede data space, but this is never a safe assumption. */
87#define VIRT_ADDR_VARIES 87#define VIRT_ADDR_VARIES
88 88
89/* Define C_ALLOCA if this machine does not support a true alloca 89/* Define C_ALLOCA if this machine does not support a true alloca
diff --git a/src/msdos.c b/src/msdos.c
index a8435d6ec26..4c0c36a4ad7 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1785,7 +1785,7 @@ XMenuActivate (Display *foo, XMenu *menu, int *pane, int *selidx,
1785 result = XM_IA_SELECT; 1785 result = XM_IA_SELECT;
1786 *pane = state[i].pane - 1; 1786 *pane = state[i].pane - 1;
1787 *selidx = dy; 1787 *selidx = dy;
1788 /* We hit some part of a menu, so drop extra menues that 1788 /* We hit some part of a menu, so drop extra menus that
1789 have been opened. That does not include an open and 1789 have been opened. That does not include an open and
1790 active submenu. */ 1790 active submenu. */
1791 if (i != statecount - 2 1791 if (i != statecount - 2
@@ -2518,7 +2518,7 @@ sys_select (nfds, rfds, wfds, efds, timeout)
2518#endif 2518#endif
2519 2519
2520/* 2520/*
2521 * Define overlayed functions: 2521 * Define overlaid functions:
2522 * 2522 *
2523 * chdir -> sys_chdir 2523 * chdir -> sys_chdir
2524 * tzset -> init_gettimeofday 2524 * tzset -> init_gettimeofday
diff --git a/src/print.c b/src/print.c
index 32210145741..5d42b580bea 100644
--- a/src/print.c
+++ b/src/print.c
@@ -708,7 +708,7 @@ print_error_message (data, stream)
708 708
709/* 709/*
710 * The buffer should be at least as large as the max string size of the 710 * The buffer should be at least as large as the max string size of the
711 * largest float, printed in the biggest notation. This is undoubtably 711 * largest float, printed in the biggest notation. This is undoubtedly
712 * 20d float_output_format, with the negative of the C-constant "HUGE" 712 * 20d float_output_format, with the negative of the C-constant "HUGE"
713 * from <math.h>. 713 * from <math.h>.
714 * 714 *
diff --git a/src/process.c b/src/process.c
index 1afb701dd28..7155fce8795 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1141,7 +1141,7 @@ Remaining arguments are strings to give program as arguments.")
1141} 1141}
1142 1142
1143/* This function is the unwind_protect form for Fstart_process. If 1143/* This function is the unwind_protect form for Fstart_process. If
1144 PROC doesn't have its pid set, then we know someone has signalled 1144 PROC doesn't have its pid set, then we know someone has signaled
1145 an error and the process wasn't started successfully, so we should 1145 an error and the process wasn't started successfully, so we should
1146 remove it from the process list. */ 1146 remove it from the process list. */
1147static Lisp_Object 1147static Lisp_Object
diff --git a/src/process.h b/src/process.h
index 3c41bb043be..8767f80b4a6 100644
--- a/src/process.h
+++ b/src/process.h
@@ -87,7 +87,7 @@ extern Lisp_Object Vprocess_alist;
87 are waiting for it. */ 87 are waiting for it. */
88extern int synch_process_alive; 88extern int synch_process_alive;
89 89
90/* Communicate exit status of synch process to from sigchld_handler 90/* Communicate exit status of sync process to from sigchld_handler
91 to Fcall_process. */ 91 to Fcall_process. */
92extern int synch_process_retcode; 92extern int synch_process_retcode;
93extern char *synch_process_death; 93extern char *synch_process_death;
diff --git a/src/ralloc.c b/src/ralloc.c
index b6fcb323395..9645bfd5f3f 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -131,7 +131,7 @@ static int extra_bytes;
131 but they never move. 131 but they never move.
132 132
133 We try to make just one heap and make it larger as necessary. 133 We try to make just one heap and make it larger as necessary.
134 But sometimes we can't do that, because we can't get continguous 134 But sometimes we can't do that, because we can't get contiguous
135 space to add onto the heap. When that happens, we start a new heap. */ 135 space to add onto the heap. When that happens, we start a new heap. */
136 136
137typedef struct heap 137typedef struct heap
@@ -171,7 +171,7 @@ static heap_ptr first_heap, last_heap;
171 An element with variable==NIL denotes a freed block, which has not yet 171 An element with variable==NIL denotes a freed block, which has not yet
172 been collected. They may only appear while r_alloc_freeze > 0, and will be 172 been collected. They may only appear while r_alloc_freeze > 0, and will be
173 freed when the arena is thawed. Currently, these blocs are not reusable, 173 freed when the arena is thawed. Currently, these blocs are not reusable,
174 while the arena is frozen. Very inefficent. */ 174 while the arena is frozen. Very inefficient. */
175 175
176typedef struct bp 176typedef struct bp
177{ 177{
@@ -180,7 +180,7 @@ typedef struct bp
180 POINTER *variable; 180 POINTER *variable;
181 POINTER data; 181 POINTER data;
182 SIZE size; 182 SIZE size;
183 POINTER new_data; /* tmporarily used for relocation */ 183 POINTER new_data; /* temporarily used for relocation */
184 struct heap *heap; /* Heap this bloc is in. */ 184 struct heap *heap; /* Heap this bloc is in. */
185} *bloc_ptr; 185} *bloc_ptr;
186 186
@@ -220,8 +220,8 @@ find_heap (address)
220 if we can get that many within one heap. 220 if we can get that many within one heap.
221 221
222 If enough space is not presently available in our reserve, this means 222 If enough space is not presently available in our reserve, this means
223 getting more page-aligned space from the system. If the retuned space 223 getting more page-aligned space from the system. If the returned space
224 is not contiguos to the last heap, allocate a new heap, and append it 224 is not contiguous to the last heap, allocate a new heap, and append it
225 225
226 obtain does not try to keep track of whether space is in use 226 obtain does not try to keep track of whether space is in use
227 or not in use. It just returns the address of SIZE bytes that 227 or not in use. It just returns the address of SIZE bytes that
@@ -795,7 +795,7 @@ r_alloc_sbrk (size)
795 { 795 {
796 /* Allocate a page-aligned space. GNU malloc would reclaim an 796 /* Allocate a page-aligned space. GNU malloc would reclaim an
797 extra space if we passed an unaligned one. But we could 797 extra space if we passed an unaligned one. But we could
798 not always find a space which is contiguos to the previous. */ 798 not always find a space which is contiguous to the previous. */
799 POINTER new_bloc_start; 799 POINTER new_bloc_start;
800 heap_ptr h = first_heap; 800 heap_ptr h = first_heap;
801 SIZE get = ROUNDUP (size); 801 SIZE get = ROUNDUP (size);
@@ -978,7 +978,7 @@ r_alloc_free (ptr)
978 do nothing. 978 do nothing.
979 979
980 In case r_alloc_freeze is set, a new bloc is allocated, and the 980 In case r_alloc_freeze is set, a new bloc is allocated, and the
981 memory copied to it. Not very efficent. We could traverse the 981 memory copied to it. Not very efficient. We could traverse the
982 bloc_list for a best fit of free blocs first. 982 bloc_list for a best fit of free blocs first.
983 983
984 Change *PTR to reflect the new bloc, and return this value. 984 Change *PTR to reflect the new bloc, and return this value.
@@ -1077,7 +1077,7 @@ r_alloc_thaw ()
1077 if (--r_alloc_freeze_level < 0) 1077 if (--r_alloc_freeze_level < 0)
1078 abort (); 1078 abort ();
1079 1079
1080 /* This frees all unused blocs. It is not too inefficent, as the resize 1080 /* This frees all unused blocs. It is not too inefficient, as the resize
1081 and bcopy is done only once. Afterwards, all unreferenced blocs are 1081 and bcopy is done only once. Afterwards, all unreferenced blocs are
1082 already shrunk to zero size. */ 1082 already shrunk to zero size. */
1083 if (!r_alloc_freeze_level) 1083 if (!r_alloc_freeze_level)
diff --git a/src/s/cxux.h b/src/s/cxux.h
index 6e711f9f651..90484858712 100644
--- a/src/s/cxux.h
+++ b/src/s/cxux.h
@@ -87,7 +87,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
87 INTERRUPT_INPUT to decide whether to use it by default. 87 INTERRUPT_INPUT to decide whether to use it by default.
88 88
89 SIGIO can be used only on systems that implement it (4.2 and 4.3). 89 SIGIO can be used only on systems that implement it (4.2 and 4.3).
90 CBREAK mode has two disadvatages 90 CBREAK mode has two disadvantages
91 1) At least in 4.2, it is impossible to handle the Meta key properly. 91 1) At least in 4.2, it is impossible to handle the Meta key properly.
92 I hear that in system V this problem does not exist. 92 I hear that in system V this problem does not exist.
93 2) Control-G causes output to be discarded. 93 2) Control-G causes output to be discarded.
@@ -114,7 +114,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
114 * Define HAVE_TERMIO if the system provides sysV-style ioctls 114 * Define HAVE_TERMIO if the system provides sysV-style ioctls
115 * for terminal control. 115 * for terminal control.
116 * 116 *
117 * Do not define both. HAVE_TERMIOS is prefered, if it is 117 * Do not define both. HAVE_TERMIOS is preferred, if it is
118 * supported on your system. 118 * supported on your system.
119 */ 119 */
120 120
diff --git a/src/s/dgux5-4-3.h b/src/s/dgux5-4-3.h
index 8321235b0ee..6e8ce8268d6 100644
--- a/src/s/dgux5-4-3.h
+++ b/src/s/dgux5-4-3.h
@@ -27,7 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
27#include "dgux5-4r2.h" 27#include "dgux5-4r2.h"
28 28
29/* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into 29/* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into
30 compliance wiht the majority of Unix systems. The workaround 30 compliance with the majority of Unix systems. The workaround
31 introduced in 5.4R2 is no longer necessary. */ 31 introduced in 5.4R2 is no longer necessary. */
32 32
33#ifdef HAVE_BROKEN_INET_ADDR 33#ifdef HAVE_BROKEN_INET_ADDR
diff --git a/src/s/hpux9.h b/src/s/hpux9.h
index f6e81cd492e..6ad1cf0c423 100644
--- a/src/s/hpux9.h
+++ b/src/s/hpux9.h
@@ -30,7 +30,7 @@
30#endif 30#endif
31 31
32/* According to ngorelic@speclab.cr.usgs.gov, 32/* According to ngorelic@speclab.cr.usgs.gov,
33 references to the X11R4 directoriess in these variables 33 references to the X11R4 directories in these variables
34 (inherited from hpux8.h) 34 (inherited from hpux8.h)
35 cause the wrong libraries to be found, 35 cause the wrong libraries to be found,
36 and the options to specify the X11R5 directories are unnecessary 36 and the options to specify the X11R5 directories are unnecessary
diff --git a/src/s/msdos.h b/src/s/msdos.h
index 298499a5a71..5dbb2f1dd52 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -73,7 +73,7 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
73 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) 73 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
74 74
75 SIGIO can be used only on systems that implement it (4.2 and 4.3). 75 SIGIO can be used only on systems that implement it (4.2 and 4.3).
76 CBREAK mode has two disadvatages 76 CBREAK mode has two disadvantages
77 1) At least in 4.2, it is impossible to handle the Meta key properly. 77 1) At least in 4.2, it is impossible to handle the Meta key properly.
78 I hear that in system V this problem does not exist. 78 I hear that in system V this problem does not exist.
79 2) Control-G causes output to be discarded. 79 2) Control-G causes output to be discarded.
diff --git a/src/search.c b/src/search.c
index c426fe91833..81d2be58e9e 100644
--- a/src/search.c
+++ b/src/search.c
@@ -73,7 +73,7 @@ static struct re_registers search_regs;
73 Qnil if no searching has been done yet. */ 73 Qnil if no searching has been done yet. */
74static Lisp_Object last_thing_searched; 74static Lisp_Object last_thing_searched;
75 75
76/* error condition signalled when regexp compile_pattern fails */ 76/* error condition signaled when regexp compile_pattern fails */
77 77
78Lisp_Object Qinvalid_regexp; 78Lisp_Object Qinvalid_regexp;
79 79
diff --git a/src/term.c b/src/term.c
index a6fb26a5961..7441c672b57 100644
--- a/src/term.c
+++ b/src/term.c
@@ -156,7 +156,7 @@ void (*set_vertical_scroll_bar_hook)
156 away is a real pain - can you say set-window-configuration? 156 away is a real pain - can you say set-window-configuration?
157 Instead, we just assert at the beginning of redisplay that *all* 157 Instead, we just assert at the beginning of redisplay that *all*
158 scroll bars are to be removed, and then save scroll bars from the 158 scroll bars are to be removed, and then save scroll bars from the
159 firey pit when we actually redisplay their window. */ 159 fiery pit when we actually redisplay their window. */
160 160
161/* Arrange for all scroll bars on FRAME to be removed at the next call 161/* Arrange for all scroll bars on FRAME to be removed at the next call
162 to `*judge_scroll_bars_hook'. A scroll bar may be spared if 162 to `*judge_scroll_bars_hook'. A scroll bar may be spared if
diff --git a/src/textprop.c b/src/textprop.c
index 4fea8d9e4fb..85f8c5ed1c7 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1500,7 +1500,7 @@ verify_interval_modification (buf, start, end)
1500 if (NILP (Vinhibit_read_only) || CONSP (Vinhibit_read_only)) 1500 if (NILP (Vinhibit_read_only) || CONSP (Vinhibit_read_only))
1501 { 1501 {
1502 /* If I and PREV differ we need to check for the read-only 1502 /* If I and PREV differ we need to check for the read-only
1503 property together with its stickyness. If either I or 1503 property together with its stickiness. If either I or
1504 PREV are 0, this check is all we need. 1504 PREV are 0, this check is all we need.
1505 We have to take special care, since read-only may be 1505 We have to take special care, since read-only may be
1506 indirectly defined via the category property. */ 1506 indirectly defined via the category property. */
diff --git a/src/unexec.c b/src/unexec.c
index 8387fd044e9..6b6136beadd 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -915,8 +915,8 @@ copy_text_and_data (new, a_out)
915 * runs, it copies the table to where these parameters live during 915 * runs, it copies the table to where these parameters live during
916 * execution. This data is in text space, so it cannot be modified here 916 * execution. This data is in text space, so it cannot be modified here
917 * before saving the executable, so the data is written manually. In 917 * before saving the executable, so the data is written manually. In
918 * addition, the table does not have a label, and the nearest accessable 918 * addition, the table does not have a label, and the nearest accessible
919 * label (mcount) is not prefixed with a '_', thus making it inaccessable 919 * label (mcount) is not prefixed with a '_', thus making it inaccessible
920 * from within C programs. To overcome this, emacs's executable is passed 920 * from within C programs. To overcome this, emacs's executable is passed
921 * through the command 'nm %s | fgrep mcount' into a pipe, and the 921 * through the command 'nm %s | fgrep mcount' into a pipe, and the
922 * resultant output is then used to find the address of 'mcount'. As far as 922 * resultant output is then used to find the address of 'mcount'. As far as
diff --git a/src/unexw32.c b/src/unexw32.c
index 7b9712c11c5..684b6177709 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -138,7 +138,7 @@ _start (void)
138#endif /* HAVE_NTGUI */ 138#endif /* HAVE_NTGUI */
139} 139}
140 140
141/* Dump out .data and .bss sections into a new exectubale. */ 141/* Dump out .data and .bss sections into a new executable. */
142void 142void
143unexec (char *new_name, char *old_name, void *start_data, void *start_bss, 143unexec (char *new_name, char *old_name, void *start_data, void *start_bss,
144 void *entry_address) 144 void *entry_address)
diff --git a/src/vms-pp.c b/src/vms-pp.c
index d93ab6743aa..e9dd0733146 100644
--- a/src/vms-pp.c
+++ b/src/vms-pp.c
@@ -42,7 +42,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
42 * #define defined(XX) XX_val 42 * #define defined(XX) XX_val
43 * #if defined(foo) 43 * #if defined(foo)
44 * 44 *
45 * This last contruction only works on single line #if's and takes 45 * This last construction only works on single line #if's and takes
46 * advantage of a questionable C pre-processor trick. If there are 46 * advantage of a questionable C pre-processor trick. If there are
47 * comments within the #if, that contain "defined", then this will 47 * comments within the #if, that contain "defined", then this will
48 * bomb. 48 * bomb.
diff --git a/src/vmsgmalloc.c b/src/vmsgmalloc.c
index d9939dd1123..83aeaec7053 100644
--- a/src/vmsgmalloc.c
+++ b/src/vmsgmalloc.c
@@ -1179,7 +1179,7 @@ VMS_present_buffer()
1179#endif /* defined(emacs) && defined(VMS) */ 1179#endif /* defined(emacs) && defined(VMS) */
1180 1180
1181#ifdef VMS 1181#ifdef VMS
1182/* Unfortunatelly, the VAX C sbrk() is buggy. For example, it returns 1182/* Unfortunately, the VAX C sbrk() is buggy. For example, it returns
1183 memory in 512 byte chunks (not a bug, but there's more), AND it 1183 memory in 512 byte chunks (not a bug, but there's more), AND it
1184 adds an extra 512 byte chunk if you ask for a multiple of 512 1184 adds an extra 512 byte chunk if you ask for a multiple of 512
1185 bytes (you ask for 512 bytes, you get 1024 bytes...). And also, 1185 bytes (you ask for 512 bytes, you get 1024 bytes...). And also,
diff --git a/src/vmsproc.c b/src/vmsproc.c
index c28a0261e37..a20a1a64544 100644
--- a/src/vmsproc.c
+++ b/src/vmsproc.c
@@ -719,7 +719,7 @@ create_process (process, new_argv)
719 719
720 Event flags returned start at 1 for the keyboard. 720 Event flags returned start at 1 for the keyboard.
721 Since Unix expects descriptor 0 for the keyboard, 721 Since Unix expects descriptor 0 for the keyboard,
722 we substract one from the event flag. 722 we subtract one from the event flag.
723 */ 723 */
724 inchannel = vs->eventFlag-1; 724 inchannel = vs->eventFlag-1;
725 725
diff --git a/src/w32faces.c b/src/w32faces.c
index dd0cbbaa8a7..a95870c8942 100644
--- a/src/w32faces.c
+++ b/src/w32faces.c
@@ -69,7 +69,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
69 lisp manipulates to control what gets displayed. Elements 0 and 1 69 lisp manipulates to control what gets displayed. Elements 0 and 1
70 of FRAME->display.x->param_faces are special - they describe the 70 of FRAME->display.x->param_faces are special - they describe the
71 default and mode line faces. None of the faces in param_faces have 71 default and mode line faces. None of the faces in param_faces have
72 GC's. (See src/dispextern.h for the definiton of struct face. 72 GC's. (See src/dispextern.h for the definition of struct face.
73 lisp/faces.el maintains the isomorphism between face_alist and 73 lisp/faces.el maintains the isomorphism between face_alist and
74 param_faces.) 74 param_faces.)
75 75
diff --git a/src/w32menu.c b/src/w32menu.c
index e07255021e6..7af74adcdb8 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -586,7 +586,7 @@ single_keymap_panes (lpmm, keymap, pane_name, prefix, notreal)
586 return (hmenu); 586 return (hmenu);
587} 587}
588 588
589/* Push all the panes and items of a menu decsribed by the 589/* Push all the panes and items of a menu described by the
590 alist-of-alists MENU. 590 alist-of-alists MENU.
591 This handles old-fashioned calls to x-popup-menu. */ 591 This handles old-fashioned calls to x-popup-menu. */
592 592
@@ -1011,7 +1011,7 @@ get_list_of_items_event (pane, lpnum)
1011 return (Qnil); 1011 return (Qnil);
1012} 1012}
1013 1013
1014/* Push all the panes and items of a menu decsribed by the 1014/* Push all the panes and items of a menu described by the
1015 alist-of-alists MENU. 1015 alist-of-alists MENU.
1016 This handles old-fashioned calls to x-popup-menu. */ 1016 This handles old-fashioned calls to x-popup-menu. */
1017 1017
@@ -1444,7 +1444,7 @@ free_frame_menubar (f)
1444 1444
1445 UNBLOCK_INPUT; 1445 UNBLOCK_INPUT;
1446} 1446}
1447/* Called from Fwin32_create_frame to create the inital menubar of a frame 1447/* Called from Fwin32_create_frame to create the initial menubar of a frame
1448 before it is mapped, so that the window is mapped with the menubar already 1448 before it is mapped, so that the window is mapped with the menubar already
1449 there instead of us tacking it on later and thrashing the window after it 1449 there instead of us tacking it on later and thrashing the window after it
1450 is visible. */ 1450 is visible. */
diff --git a/src/w32proc.c b/src/w32proc.c
index b2df278a0dc..b4bd6394ae7 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -408,7 +408,7 @@ win32_wait (int *status)
408 } 408 }
409 409
410 /* Massage the exit code from the process to match the format expected 410 /* Massage the exit code from the process to match the format expected
411 by the WIFSTOPPED et al macros in syswait.h. Only WIFSIGNALLED and 411 by the WIFSTOPPED et al macros in syswait.h. Only WIFSIGNALED and
412 WIFEXITED are supported; WIFSTOPPED doesn't make sense under NT. */ 412 WIFEXITED are supported; WIFSTOPPED doesn't make sense under NT. */
413 413
414 if (retval == STATUS_CONTROL_C_EXIT) 414 if (retval == STATUS_CONTROL_C_EXIT)
diff --git a/src/widget.c b/src/widget.c
index 5c46e99ac80..66dd9c0ac77 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -311,7 +311,7 @@ set_frame_size (ew)
311 311
312 if (! XtIsSubclass (wmshell, shellWidgetClass)) abort (); 312 if (! XtIsSubclass (wmshell, shellWidgetClass)) abort ();
313 313
314 /* We don't need this for the momment. The geometry is computed in 314 /* We don't need this for the moment. The geometry is computed in
315 xfns.c. */ 315 xfns.c. */
316#if 0 316#if 0
317 /* If the EmacsFrame doesn't have a geometry but the shell does, 317 /* If the EmacsFrame doesn't have a geometry but the shell does,
diff --git a/src/xdisp.c b/src/xdisp.c
index 4f236b7fa7f..5427214ff16 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2103,8 +2103,8 @@ try_window_id (window)
2103 lines' charstarts in the case where the text of the 2103 lines' charstarts in the case where the text of the
2104 screen line at bp.vpos has changed. 2104 screen line at bp.vpos has changed.
2105 (This can happen in a deletion that ends in mid-line.) 2105 (This can happen in a deletion that ends in mid-line.)
2106 To adjust properly, we need to make things constent at 2106 To adjust properly, we need to make things consistent
2107 the position ep. 2107 at the position ep.
2108 So do a second adjust to make that happen. 2108 So do a second adjust to make that happen.
2109 Note that stop_vpos >= ep.vpos, so it is sufficient 2109 Note that stop_vpos >= ep.vpos, so it is sufficient
2110 to update the charstarts for lines at ep.vpos and below. */ 2110 to update the charstarts for lines at ep.vpos and below. */
diff --git a/src/xfaces.c b/src/xfaces.c
index d99ce172d3c..36a2fe0e839 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -95,7 +95,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
95 lisp manipulates to control what gets displayed. Elements 0 and 1 95 lisp manipulates to control what gets displayed. Elements 0 and 1
96 of FRAME->output_data.x->param_faces are special - they describe the 96 of FRAME->output_data.x->param_faces are special - they describe the
97 default and mode line faces. None of the faces in param_faces have 97 default and mode line faces. None of the faces in param_faces have
98 GC's. (See src/dispextern.h for the definiton of struct face. 98 GC's. (See src/dispextern.h for the definition of struct face.
99 lisp/faces.el maintains the isomorphism between face_alist and 99 lisp/faces.el maintains the isomorphism between face_alist and
100 param_faces.) 100 param_faces.)
101 101
diff --git a/src/xmenu.c b/src/xmenu.c
index e6cd2251582..63188cb4c5c 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -673,7 +673,7 @@ single_keymap_panes (keymap, pane_name, prefix, notreal)
673 } 673 }
674} 674}
675 675
676/* Push all the panes and items of a menu decsribed by the 676/* Push all the panes and items of a menu described by the
677 alist-of-alists MENU. 677 alist-of-alists MENU.
678 This handles old-fashioned calls to x-popup-menu. */ 678 This handles old-fashioned calls to x-popup-menu. */
679 679
@@ -1766,7 +1766,7 @@ set_frame_menubar (f, first_time, deep_p)
1766 UNBLOCK_INPUT; 1766 UNBLOCK_INPUT;
1767} 1767}
1768 1768
1769/* Called from Fx_create_frame to create the inital menubar of a frame 1769/* Called from Fx_create_frame to create the initial menubar of a frame
1770 before it is mapped, so that the window is mapped with the menubar already 1770 before it is mapped, so that the window is mapped with the menubar already
1771 there instead of us tacking it on later and thrashing the window after it 1771 there instead of us tacking it on later and thrashing the window after it
1772 is visible. */ 1772 is visible. */