Commit 8e6208c5 authored by Karl Heuer's avatar Karl Heuer
Browse files

Comment fixes.

parent 34035df3
......@@ -150,7 +150,7 @@ button_value (event)
* Variables to store the time of the previous mouse event that was
* sent to emacs.
*
* The theory is that to time double clicks while ignoreing UP buttons,
* The theory is that to time double clicks while ignoring UP buttons,
* we must keep track of the accumulated time.
*
* If someone writes a SUN-SET-INPUT-MASK for emacstool,
......@@ -376,7 +376,7 @@ int interpose_on_window(argc,argv)
char **argv;
{
#ifndef TTERM
int i, font_width_adjust = 1; /* hackery, and hueristics */
int i, font_width_adjust = 1; /* hackery, and heuristics */
/* if -Wt is not supplied, then font comes out as lucida-14 (width=8)
* rather than the screen.r.12 (width=7) typically used
* this hack attempts to workaround it.
......
......@@ -167,7 +167,7 @@ main (argc, argv)
if (access (outname, F_OK) == 0 && access (outname, W_OK) != 0)
pfatal_with_name (outname);
/* Also check that outname's directory is writeable to the real uid. */
/* Also check that outname's directory is writable to the real uid. */
{
char *buf = (char *) xmalloc (strlen (outname) + 1);
char *p;
......
......@@ -906,7 +906,7 @@ pop_reset (server)
* Return value: 0 for success, non-zero otherwise with error in
* pop_error.
*
* Side Effects: The popserver passed in is unuseable after this
* Side Effects: The popserver passed in is unusable after this
* function is called, even if an error occurs.
*/
int
......@@ -1368,7 +1368,7 @@ fullwrite (fd, buf, nbytes)
*
* Returns: 0 for success, else for failure and puts error in pop_error.
*
* Side effects: On failure, may make the connection unuseable.
* Side effects: On failure, may make the connection unusable.
*/
static int
getok (server)
......@@ -1439,7 +1439,7 @@ gettermination (server)
* try to get the server to quit, but ignoring any responses that
* are received.
*
* Side effects: The server is unuseable after this function returns.
* Side effects: The server is unusable after this function returns.
* Changes made to the maildrop since the session was started (or
* since the last pop_reset) may be lost.
*/
......
......@@ -232,7 +232,7 @@ STARTFILES = START_FILES
which will be in a file named localcpp. */
MYCPPFLAG= -Blocal
/* LOCALCPP is the local one or nothing.
CPP is the local one or the standardone. */
CPP is the local one or the standard one. */
LOCALCPP= localcpp
#endif /* ! defined (LONGNAMEBBBARFOOX) */
......
......@@ -151,7 +151,7 @@ Lisp_Object memory_signal_data;
/* Define DONT_COPY_FLAG to be some bit which will always be zero in a
pointer to a Lisp_Object, when that pointer is viewed as an integer.
(On most machines, pointers are even, so we can use the low bit.
Word-addressible architectures may need to override this in the m-file.)
Word-addressable architectures may need to override this in the m-file.)
When linking references to small strings through the size field, we
use this slot to hold the bit that would otherwise be interpreted as
the GC mark bit. */
......@@ -2157,7 +2157,7 @@ gc_sweep ()
#ifndef standalone
/* Put all unmarked markers on free list.
Dechain each one first from the buffer it points into,
Unchain each one first from the buffer it points into,
but only if it's a real marker. */
{
register struct marker_block *mblk;
......
......@@ -509,7 +509,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
{
/* Repeatedly read until we've filled as much as possible
of the buffer size we have. But don't read
less than 1024--save that for the next bufferfull. */
less than 1024--save that for the next bufferful. */
nread = 0;
while (nread < bufsize - 1024)
......
......@@ -862,7 +862,7 @@ swap_in_symval_forwarding (sym, valcontents)
/* Find the value of a symbol, returning Qunbound if it's not bound.
This is helpful for code which just wants to get a variable's value
if it has one, without signalling an error.
if it has one, without signaling an error.
Note that it must not be possible to quit
within this function. Great care is required for this. */
......
......@@ -152,7 +152,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\
CHECK_STRING (match, 3);
/* MATCH might be a flawed regular expression. Rather than
catching and signalling our own errors, we just call
catching and signaling our own errors, we just call
compile_pattern to do the work for us. */
#ifdef VMS
bufp = compile_pattern (match, 0,
......@@ -166,7 +166,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\
which might compile a new regexp until we're done with the loop! */
/* Do this opendir after anything which might signal an error; if
an error is signalled while the directory stream is open, we
an error is signaled while the directory stream is open, we
have to make sure it gets closed, and setting up an
unwind_protect to do so would be a pain. */
d = opendir (XSTRING (dirfilename)->data);
......
......@@ -2936,7 +2936,7 @@ and (2) it puts less data in the undo list.")
&& FETCH_CHAR (same_at_start) == buffer[bufpos])
same_at_start++, bufpos++;
/* If we found a discrepancy, stop the scan.
Otherwise loop around and scan the next bufferfull. */
Otherwise loop around and scan the next bufferful. */
if (bufpos != nread)
break;
}
......@@ -2979,7 +2979,7 @@ and (2) it puts less data in the undo list.")
XSTRING (filename)->data, strerror (errno));
total_read += nread;
}
/* Scan this bufferfull from the end, comparing with
/* Scan this bufferful from the end, comparing with
the Emacs buffer. */
bufpos = total_read;
/* 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.")
&& FETCH_CHAR (same_at_end - 1) == buffer[bufpos - 1])
same_at_end--, bufpos--;
/* If we found a discrepancy, stop the scan.
Otherwise loop around and scan the preceding bufferfull. */
Otherwise loop around and scan the preceding bufferful. */
if (bufpos != 0)
break;
/* If display current starts at beginning of line,
......
......@@ -37,7 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
(What systems actually do this? Please let us know.)
Define FLOAT_CHECK_DOMAIN if the float library doesn't handle errors by
either setting errno, or signalling SIGFPE/SIGILL. Otherwise, domain and
either setting errno, or signaling SIGFPE/SIGILL. Otherwise, domain and
range checking will happen before calling the float routines. This has
no effect if HAVE_MATHERR is defined (since matherr will be called when
a domain error occurs.)
......
......@@ -271,7 +271,7 @@ adjust_markers_for_insert (pos, amount)
a conceptual change in point as a marker. In particular, point is
not crossing any interval boundaries, so there's no need to use the
usual SET_PT macro. In fact it would be incorrect to do so, because
either the old or the new value of point is out of synch with the
either the old or the new value of point is out of sync with the
current set of intervals. */
static void
adjust_point (amount)
......
......@@ -680,7 +680,7 @@ previous_interval (interval)
Modifications are needed to handle the hungry bits -- after simply
finding the interval at position (don't add length going down),
if it's the beginning of the interval, get the previous interval
and check the hugry bits of both. Then add the length going back up
and check the hungry bits of both. Then add the length going back up
to the root. */
static INTERVAL
......@@ -793,7 +793,7 @@ adjust_intervals_for_insertion (tree, position, length)
/* Even if we are positioned between intervals, we default
to the left one if it exists. We extend it now and split
off a part later, if stickyness demands it. */
off a part later, if stickiness demands it. */
for (temp = prev ? prev : i;! NULL_INTERVAL_P (temp); temp = temp->parent)
{
temp->total_length += length;
......@@ -801,7 +801,7 @@ adjust_intervals_for_insertion (tree, position, length)
}
/* If at least one interval has sticky properties,
we check the stickyness property by property. */
we check the stickiness property by property. */
if (END_NONSTICKY_P (prev) || FRONT_STICKY_P (i))
{
Lisp_Object pleft, pright;
......@@ -1516,7 +1516,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
/* The inserted text "sticks" to the interval `under',
which means it gets those properties.
The properties of under are the result of
adjust_intervals_for_insertion, so stickyness has
adjust_intervals_for_insertion, so stickiness has
already been taken care of. */
while (! NULL_INTERVAL_P (over))
......
......@@ -7138,7 +7138,7 @@ init_kboard (kb)
/*
* Destroy the contents of a kboard object, but not the object itself.
* We use this just before deleteing it, or if we're going to initialize
* We use this just before deleting it, or if we're going to initialize
* it a second time.
*/
static void
......
......@@ -264,7 +264,7 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii)
goto retry;
/* switch-frame events are put off until after the next ASCII
character. This is better than signalling an error just because
character. This is better than signaling an error just because
the last characters were typed to a separate minibuffer frame,
for example. Eventually, some code which can deal with
switch-frame events will read it and process it. */
......@@ -2297,7 +2297,7 @@ init_lread ()
#ifndef WINDOWSNT
/* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is
almost never correct, thereby causing a warning to be printed out that
confuses users. Since PATH_LOADSEARCH is always overriden by the
confuses users. Since PATH_LOADSEARCH is always overridden by the
EMACSLOADPATH environment variable below, disable the warning on NT. */
/* Warn if dirs in the *standard* path don't exist. */
......
......@@ -86,7 +86,7 @@ NOTE-END */
also solve the problem, but I doubt you can convince everyone to do this. */
/* Addendum: the MIT X11 distribution neglects to define certain symbols
when NeedFunctionPrototypes is 0, but still tries to use them when
NeedVarargsProrotypes is 1 (which is its default value). So if we're
NeedVarargsPrototypes is 1 (which is its default value). So if we're
going to disable non-variadic prototypes, we also need to disable
variadic prototypes. --kwzh@gnu.ai.mit.edu */
#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
......
......@@ -113,7 +113,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* #define C_OPTIMIZE_SWITCH -O2 */
/* emacs's magic number isn't temacs's;
temacs is writeable text (the default!). */
temacs is writable text (the default!). */
#include <asld.h>
#define EXEC_MAGIC AOUT1MAGIC
......
......@@ -83,7 +83,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Otherwise Emacs assumes that text space precedes data space,
numerically. */
/* Text does preceed data space, but this is never a safe assumption. */
/* Text does precede data space, but this is never a safe assumption. */
#define VIRT_ADDR_VARIES
/* Define C_ALLOCA if this machine does not support a true alloca
......
......@@ -1785,7 +1785,7 @@ XMenuActivate (Display *foo, XMenu *menu, int *pane, int *selidx,
result = XM_IA_SELECT;
*pane = state[i].pane - 1;
*selidx = dy;
/* We hit some part of a menu, so drop extra menues that
/* We hit some part of a menu, so drop extra menus that
have been opened. That does not include an open and
active submenu. */
if (i != statecount - 2
......@@ -2518,7 +2518,7 @@ sys_select (nfds, rfds, wfds, efds, timeout)
#endif
/*
* Define overlayed functions:
* Define overlaid functions:
*
* chdir -> sys_chdir
* tzset -> init_gettimeofday
......
......@@ -708,7 +708,7 @@ print_error_message (data, stream)
/*
* The buffer should be at least as large as the max string size of the
* largest float, printed in the biggest notation. This is undoubtably
* largest float, printed in the biggest notation. This is undoubtedly
* 20d float_output_format, with the negative of the C-constant "HUGE"
* from <math.h>.
*
......
......@@ -1141,7 +1141,7 @@ Remaining arguments are strings to give program as arguments.")
}
/* This function is the unwind_protect form for Fstart_process. If
PROC doesn't have its pid set, then we know someone has signalled
PROC doesn't have its pid set, then we know someone has signaled
an error and the process wasn't started successfully, so we should
remove it from the process list. */
static Lisp_Object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment