Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8e6208c5
Commit
8e6208c5
authored
Jan 05, 1996
by
Karl Heuer
Browse files
Comment fixes.
parent
34035df3
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
32 additions
and
32 deletions
+32
-32
lib-src/emacstool.c
lib-src/emacstool.c
+2
-2
lib-src/movemail.c
lib-src/movemail.c
+1
-1
lib-src/pop.c
lib-src/pop.c
+3
-3
src/Makefile.in
src/Makefile.in
+1
-1
src/alloc.c
src/alloc.c
+2
-2
src/callproc.c
src/callproc.c
+1
-1
src/data.c
src/data.c
+1
-1
src/dired.c
src/dired.c
+2
-2
src/fileio.c
src/fileio.c
+3
-3
src/floatfns.c
src/floatfns.c
+1
-1
src/insdel.c
src/insdel.c
+1
-1
src/intervals.c
src/intervals.c
+4
-4
src/keyboard.c
src/keyboard.c
+1
-1
src/lread.c
src/lread.c
+2
-2
src/m/pmax.h
src/m/pmax.h
+1
-1
src/m/tower32.h
src/m/tower32.h
+1
-1
src/m/windowsnt.h
src/m/windowsnt.h
+1
-1
src/msdos.c
src/msdos.c
+2
-2
src/print.c
src/print.c
+1
-1
src/process.c
src/process.c
+1
-1
No files found.
lib-src/emacstool.c
View file @
8e6208c5
...
...
@@ -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 ignor
e
ing 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 h
u
eristics */
int
i
,
font_width_adjust
=
1
;
/* hackery, and he
u
ristics */
/* 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.
...
...
lib-src/movemail.c
View file @
8e6208c5
...
...
@@ -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 writ
e
able 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
;
...
...
lib-src/pop.c
View file @
8e6208c5
...
...
@@ -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 unus
e
able 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 unus
e
able.
* 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 unus
e
able 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.
*/
...
...
src/Makefile.in
View file @
8e6208c5
...
...
@@ -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) */
...
...
src/alloc.c
View file @
8e6208c5
...
...
@@ -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-address
i
ble architectures may need to override this in the m-file.)
Word-address
a
ble 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.
De
chain each one first from the buffer it points into,
Un
chain each one first from the buffer it points into,
but only if it's a real marker. */
{
register struct marker_block *mblk;
...
...
src/callproc.c
View file @
8e6208c5
...
...
@@ -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 bufferful
l
. */
less than 1024--save that for the next bufferful. */
nread
=
0
;
while
(
nread
<
bufsize
-
1024
)
...
...
src/data.c
View file @
8e6208c5
...
...
@@ -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 signal
l
ing 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. */
...
...
src/dired.c
View file @
8e6208c5
...
...
@@ -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 signal
l
ing 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 signal
l
ed 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
);
...
...
src/fileio.c
View file @
8e6208c5
...
...
@@ -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 bufferful
l
. */
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 bufferful
l
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 bufferful
l
. */
Otherwise loop around and scan the preceding bufferful. */
if (bufpos != 0)
break;
/* If display current starts at beginning of line,
...
...
src/floatfns.c
View file @
8e6208c5
...
...
@@ -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 signal
l
ing 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.)
...
...
src/insdel.c
View file @
8e6208c5
...
...
@@ -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 sync
h
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
)
...
...
src/intervals.c
View file @
8e6208c5
...
...
@@ -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 hu
n
gry 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 stick
y
ness demands it. */
off a part later, if stick
i
ness 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 stick
y
ness property by property. */
we check the stick
i
ness 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 stick
y
ness has
adjust_intervals_for_insertion, so stick
i
ness has
already been taken care of. */
while
(
!
NULL_INTERVAL_P
(
over
))
...
...
src/keyboard.c
View file @
8e6208c5
...
...
@@ -7138,7 +7138,7 @@ init_kboard (kb)
/*
* Destroy the contents of a kboard object, but not the object itself.
* We use this just before delet
e
ing 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
...
...
src/lread.c
View file @
8e6208c5
...
...
@@ -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 signal
l
ing 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 overrid
d
en by the
EMACSLOADPATH environment variable below, disable the warning on NT. */
/* Warn if dirs in the *standard* path don't exist. */
...
...
src/m/pmax.h
View file @
8e6208c5
...
...
@@ -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
NeedVarargsPro
r
otypes is 1 (which is its default value). So if we're
NeedVarargsPro
t
otypes 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
...
...
src/m/tower32.h
View file @
8e6208c5
...
...
@@ -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 writ
e
able text (the default!). */
temacs is writable text (the default!). */
#include <asld.h>
#define EXEC_MAGIC AOUT1MAGIC
...
...
src/m/windowsnt.h
View file @
8e6208c5
...
...
@@ -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 prece
e
d data space, but this is never a safe assumption. */
/* Text does preced
e
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
...
...
src/msdos.c
View file @
8e6208c5
...
...
@@ -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 menu
e
s 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 overla
ye
d functions:
* Define overla
i
d functions:
*
* chdir -> sys_chdir
* tzset -> init_gettimeofday
...
...
src/print.c
View file @
8e6208c5
...
...
@@ -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 undoubt
ab
ly
* largest float, printed in the biggest notation. This is undoubt
ed
ly
* 20d float_output_format, with the negative of the C-constant "HUGE"
* from <math.h>.
*
...
...
src/process.c
View file @
8e6208c5
...
...
@@ -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 signal
l
ed
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
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment