aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-06-09 11:59:12 +0000
committerJim Blandy1993-06-09 11:59:12 +0000
commiteb8c3be94e12644f506b8857e49ffef88046bb0b (patch)
tree505c4ea5ae59214e4d6e749047d160c98191c9d2
parent16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff)
downloademacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz
emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip
Apply typo patches from Paul Eggert.
-rw-r--r--PROBLEMS6
-rwxr-xr-xconfigure1.in4
-rw-r--r--etc/FAQ16
-rw-r--r--etc/termcap.dat8
-rw-r--r--lib-src/aixcc.lex2
-rw-r--r--lib-src/emacstool.c2
-rw-r--r--lib-src/etags.c4
-rw-r--r--lib-src/make-docfile.c2
-rw-r--r--lib-src/timer.c2
-rw-r--r--lib-src/yow.c2
-rw-r--r--lisp/add-log.el2
-rw-r--r--lisp/allout.el28
-rw-r--r--lisp/ange-ftp.el18
-rw-r--r--lisp/buff-menu.el2
-rw-r--r--lisp/calendar/calendar.el16
-rw-r--r--lisp/calendar/solar.el2
-rw-r--r--lisp/cl.el8
-rw-r--r--lisp/cmulisp.el2
-rw-r--r--lisp/cmuscheme.el2
-rw-r--r--lisp/comint.el2
-rw-r--r--lisp/completion.el26
-rw-r--r--lisp/dired-aux.el8
-rw-r--r--lisp/dired.el4
-rw-r--r--lisp/emacs-lisp/backquote.el6
-rw-r--r--lisp/emacs-lisp/byte-opt.el10
-rw-r--r--lisp/emacs-lisp/bytecomp.el8
-rw-r--r--lisp/emacs-lisp/cl-indent.el4
-rw-r--r--lisp/emacs-lisp/cust-print.el8
-rw-r--r--lisp/emacs-lisp/edebug.el14
-rw-r--r--lisp/emacs-lisp/float.el4
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
-rw-r--r--lisp/emacs-lisp/lisp.el2
-rw-r--r--lisp/emerge.el12
-rw-r--r--lisp/emulation/edt.el2
-rw-r--r--lisp/emulation/mlconvert.el2
-rw-r--r--lisp/emulation/vi.el6
-rw-r--r--lisp/emulation/vip.el22
-rw-r--r--lisp/emulation/ws-mode.el2
-rw-r--r--lisp/files.el2
-rw-r--r--lisp/frame.el4
-rw-r--r--lisp/gnus.el20
-rw-r--r--lisp/gnusmisc.el2
-rw-r--r--lisp/gud.el4
-rw-r--r--lisp/isearch.el14
-rw-r--r--lisp/kermit.el6
-rw-r--r--lisp/macros.el2
-rw-r--r--lisp/mail/mailabbrev.el4
-rw-r--r--lisp/mail/rmail.el2
-rw-r--r--lisp/man.el4
-rw-r--r--lisp/mh-e.el6
-rw-r--r--lisp/mhspool.el4
-rw-r--r--lisp/mim-mode.el10
-rw-r--r--lisp/nnspool.el4
-rw-r--r--lisp/nntp.el2
-rw-r--r--lisp/play/blackbox.el2
-rw-r--r--lisp/play/dissociate.el2
-rw-r--r--lisp/play/doctor.el14
-rw-r--r--lisp/play/hanoi.el2
-rw-r--r--lisp/play/life.el4
-rw-r--r--lisp/play/mpuz.el4
-rw-r--r--lisp/play/yow.el2
-rw-r--r--lisp/progmodes/c-mode.el2
-rw-r--r--lisp/progmodes/cplus-md.el2
-rw-r--r--lisp/progmodes/etags.el4
-rw-r--r--lisp/progmodes/fortran.el10
-rw-r--r--lisp/progmodes/hideif.el8
-rw-r--r--lisp/progmodes/inf-lisp.el2
-rw-r--r--lisp/progmodes/make-mode.el12
-rw-r--r--lisp/progmodes/perl-mode.el2
-rw-r--r--lisp/progmodes/scheme.el2
-rw-r--r--lisp/progmodes/simula.el26
-rw-r--r--lisp/sc.el10
-rw-r--r--lisp/simple.el2
-rw-r--r--lisp/sort.el2
-rw-r--r--lisp/subr.el2
-rw-r--r--lisp/sun-fns.el10
-rw-r--r--lisp/term/README2
-rw-r--r--lisp/term/sun-mouse.el10
-rw-r--r--lisp/term/wyse50.el2
-rw-r--r--lisp/terminal.el6
-rw-r--r--lisp/textmodes/bibtex.el14
-rw-r--r--lisp/textmodes/ispell4.el8
-rw-r--r--lisp/textmodes/page-ext.el4
-rw-r--r--lisp/textmodes/picture.el10
-rw-r--r--lisp/textmodes/spell.el2
-rw-r--r--lisp/textmodes/tex-mode.el2
-rw-r--r--lisp/textmodes/texinfmt.el4
-rw-r--r--lisp/textmodes/texnfo-upd.el2
-rw-r--r--lisp/textmodes/text-mode.el2
-rw-r--r--lisp/timer.el2
-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
151 files changed, 388 insertions, 388 deletions
diff --git a/PROBLEMS b/PROBLEMS
index 85de361e24c..7172c0b99dc 100644
--- a/PROBLEMS
+++ b/PROBLEMS
@@ -41,7 +41,7 @@ the names work properly with other programs on the same system.
41This typically happens on Suns and other systems that use shared 41This typically happens on Suns and other systems that use shared
42libraries. The cause is that the site has installed a version of the 42libraries. The cause is that the site has installed a version of the
43shared library which uses a name server--but has not installed a 43shared library which uses a name server--but has not installed a
44similiar version of the unshared library which Emacs uses. 44similar version of the unshared library which Emacs uses.
45 45
46The result is that most programs, using the shared library, work with 46The result is that most programs, using the shared library, work with
47the nameserver, but Emacs does not. 47the nameserver, but Emacs does not.
@@ -65,7 +65,7 @@ corresponding pair of files should fix the problem.
65 65
66* Trouble using ptys on AIX. 66* Trouble using ptys on AIX.
67 67
68People often instll the pty devices on AIX incorrectly. 68People often install the pty devices on AIX incorrectly.
69Use `smit pty' to reinstall them properly. 69Use `smit pty' to reinstall them properly.
70 70
71* Shell mode on HP/UX gives the message, "`tty`: Ambiguous". 71* Shell mode on HP/UX gives the message, "`tty`: Ambiguous".
@@ -458,7 +458,7 @@ in sysV.) You can use keyboard-translate-table, as shown above,
458to map two other input characters (such as C-^ and C-\) into C-s and 458to map two other input characters (such as C-^ and C-\) into C-s and
459C-q, so that you can still search and quote. 459C-q, so that you can still search and quote.
460 460
461I have no intention of ever redisigning the Emacs command set for 461I have no intention of ever redesigning the Emacs command set for
462the assumption that terminals use C-s/C-q flow control. This 462the assumption that terminals use C-s/C-q flow control. This
463flow control technique is a bad design, and terminals that need 463flow control technique is a bad design, and terminals that need
464it are bad merchandise and should not be purchased. If you can 464it are bad merchandise and should not be purchased. If you can
diff --git a/configure1.in b/configure1.in
index 141e3f67fc0..feb108a6cd1 100755
--- a/configure1.in
+++ b/configure1.in
@@ -228,7 +228,7 @@ Set it to either \`yes' or \`no'."
228 inst_paths='#disabled# ' 228 inst_paths='#disabled# '
229 ;; 229 ;;
230 230
231 ## Has the user specifiec an installation prefix? 231 ## Has the user specified an installation prefix?
232 "prefix" ) 232 "prefix" )
233 ## If the value was omitted, get it from the next argument. 233 ## If the value was omitted, get it from the next argument.
234 if [ "${valomitted}" = "yes" ]; then 234 if [ "${valomitted}" = "yes" ]; then
@@ -245,7 +245,7 @@ Set it to either \`yes' or \`no'."
245 prefix="${val}" 245 prefix="${val}"
246 ;; 246 ;;
247 247
248 ## Has the user specifiec an installation prefix? 248 ## Has the user specified an installation prefix?
249 "exec_prefix" ) 249 "exec_prefix" )
250 ## If the value was omitted, get it from the next argument. 250 ## If the value was omitted, get it from the next argument.
251 if [ "${valomitted}" = "yes" ]; then 251 if [ "${valomitted}" = "yes" ]; then
diff --git a/etc/FAQ b/etc/FAQ
index d5d137363b8..1d594cbf565 100644
--- a/etc/FAQ
+++ b/etc/FAQ
@@ -434,7 +434,7 @@ General Questions
434 434
435 The real legal meaning of the GNU General Public Licence (copyleft) is 435 The real legal meaning of the GNU General Public Licence (copyleft) is
436 however it is interpreted by a judge. There has never been a copyright 436 however it is interpreted by a judge. There has never been a copyright
437 infringment case involving the GPL to set any precedents. Please take any 437 infringement case involving the GPL to set any precedents. Please take any
438 discussion regarding this issue to the newsgroup gnu.misc.discuss, which 438 discussion regarding this issue to the newsgroup gnu.misc.discuss, which
439 was created to hold the extensive flame wars on the subject. 439 was created to hold the extensive flame wars on the subject.
440 440
@@ -525,7 +525,7 @@ General Questions
525 If you are receiving a GNU mailing list named `XXX', you might be able 525 If you are receiving a GNU mailing list named `XXX', you might be able
526 to unsubscribe to it by sending a request to the address 526 to unsubscribe to it by sending a request to the address
527 `XXX-request@prep.ai.mit.edu'. However, this will not work if you are 527 `XXX-request@prep.ai.mit.edu'. However, this will not work if you are
528 not listed on the main mailing list, but instead recieve the mail from a 528 not listed on the main mailing list, but instead receive the mail from a
529 distribution point. In that case, you will have to track down at which 529 distribution point. In that case, you will have to track down at which
530 distribution point you are listed. Inspecting the `Received:' headers 530 distribution point you are listed. Inspecting the `Received:' headers
531 on the mail messages may help, along with liberal use of the `EXPN' or 531 on the mail messages may help, along with liberal use of the `EXPN' or
@@ -2087,7 +2087,7 @@ Bugs/Problems
2087 Cliff Stoll in his book `The Cuckoo's Egg' describes this in chapter 4. 2087 Cliff Stoll in his book `The Cuckoo's Egg' describes this in chapter 4.
2088 The site at LBL had installed the `etc/movemail' program setuid root. 2088 The site at LBL had installed the `etc/movemail' program setuid root.
2089 Since `movemail' had not been designed for this situation, a security 2089 Since `movemail' had not been designed for this situation, a security
2090 hole was created and users could get root priveleges. 2090 hole was created and users could get root privileges.
2091 2091
2092 `movemail' has since been changed so that even if it is installed setuid 2092 `movemail' has since been changed so that even if it is installed setuid
2093 root this security hole will not be a result. 2093 root this security hole will not be a result.
@@ -2132,8 +2132,8 @@ Bugs/Problems
2132 Emacs accepts synthetic X events generated by the SendEvent request as 2132 Emacs accepts synthetic X events generated by the SendEvent request as
2133 though they were regular events. As a result, if you are using the 2133 though they were regular events. As a result, if you are using the
2134 trivial host-based authentication, other users who can open X 2134 trivial host-based authentication, other users who can open X
2135 connections to your X workstatation can make your Emacs process do 2135 connections to your X workstation can make your Emacs process do
2136 anything, including run other processes with your priveleges. 2136 anything, including run other processes with your privileges.
2137 2137
2138 The only fix for this is to prevent other users from being able to open 2138 The only fix for this is to prevent other users from being able to open
2139 X connections. The standard way to prevent this is to use a real 2139 X connections. The standard way to prevent this is to use a real
@@ -2328,7 +2328,7 @@ Finding/Getting Emacs and Related Packages
2328 ;; LCD Archive Entry: 2328 ;; LCD Archive Entry:
2329 ;; tex-complete|Sebastian Kremer|sk@thp.Uni-Koeln.DE 2329 ;; tex-complete|Sebastian Kremer|sk@thp.Uni-Koeln.DE
2330 ;; |Minibuffer name completion for editing [La]TeX. 2330 ;; |Minibuffer name completion for editing [La]TeX.
2331 ;; |91-03-26|$Revision: 20.5 $|~/packages/tex-complete.el.Z ! 2331 ;; |91-03-26|$Revision: 1.4 $|~/packages/tex-complete.el.Z !
2332 2332
2333 Dave Brennan has software which automatically looks for data in this 2333 Dave Brennan has software which automatically looks for data in this
2334 format. The format is fairly flexible. The entry ends when a line is 2334 format. The format is fairly flexible. The entry ends when a line is
@@ -3198,7 +3198,7 @@ Changing Key Bindings and Handling Key Binding Problems
3198 X keysyms Up, Left, Right, and Down.) 3198 X keysyms Up, Left, Right, and Down.)
3199 Break (the `Alternate' key is given this keysym) 3199 Break (the `Alternate' key is given this keysym)
3200 3200
3201 These keys work like Sun function keys. When Emacs recieves the 3201 These keys work like Sun function keys. When Emacs receives the
3202 keysym, it will internally use character sequences that look like "ESC 3202 keysym, it will internally use character sequences that look like "ESC
3203 [ ### z", where ### is replaced by a number. The character sequences 3203 [ ### z", where ### is replaced by a number. The character sequences
3204 are identical to those generated by Sun's keyboard under SunView. Any 3204 are identical to those generated by Sun's keyboard under SunView. Any
@@ -3881,7 +3881,7 @@ Using Emacs with Alternate Character Sets
3881 3881
3882 With these patches, Emacs becomes fully 8-bit operational. There is 3882 With these patches, Emacs becomes fully 8-bit operational. There is
3883 support for displaying 8-bit characters, as well as for entering such 3883 support for displaying 8-bit characters, as well as for entering such
3884 characters from the keyboard. In addition, upcase/lowcase tranlatsion 3884 characters from the keyboard. In addition, upcase/lowcase translation
3885 is supported, accented characters are recognized as "letters" (important 3885 is supported, accented characters are recognized as "letters" (important
3886 when doing 'forward-word', for example), and text with 8-bit characters 3886 when doing 'forward-word', for example), and text with 8-bit characters
3887 can be sorted correctly. 3887 can be sorted correctly.
diff --git a/etc/termcap.dat b/etc/termcap.dat
index a9d0ef02e0a..b86869c1fa7 100644
--- a/etc/termcap.dat
+++ b/etc/termcap.dat
@@ -79,7 +79,7 @@ N0|aa|annarbor|4080|ann arbor 4080:\
79# Briefly, the settings are for the following modes: 79# Briefly, the settings are for the following modes:
80# (values are for bit set/clear with * indicating our preference 80# (values are for bit set/clear with * indicating our preference
81# and the value used to test these termcaps) 81# and the value used to test these termcaps)
82# Note that many of these settings are irelevent to the termcap 82# Note that many of these settings are irrelevant to the termcap
83# and are just set to the default mode of the terminal as shipped 83# and are just set to the default mode of the terminal as shipped
84# by the factory. 84# by the factory.
85# 85#
@@ -120,7 +120,7 @@ N0|aa|annarbor|4080|ann arbor 4080:\
120# transmit all characters/transmit only selected characters* 120# transmit all characters/transmit only selected characters*
121# transmit all selected areas/transmit only 1 selected area* 121# transmit all selected areas/transmit only 1 selected area*
122# 122#
123# transmit/do not transmit line seperators to host* 123# transmit/do not transmit line separators to host*
124# transmit/do not transmit page tab stops tabs to host* 124# transmit/do not transmit page tab stops tabs to host*
125# transmit/do not transmit column tab stop tabs to host* 125# transmit/do not transmit column tab stop tabs to host*
126# transmit/do not transmit graphics control (underline,inverse..)* 126# transmit/do not transmit graphics control (underline,inverse..)*
@@ -159,7 +159,7 @@ N0|aa|annarbor|4080|ann arbor 4080:\
159# 159#
160# D menu: 0110 1001 1 0 160# D menu: 0110 1001 1 0
161# LF is newline/LF is down one line, same column* 161# LF is newline/LF is down one line, same column*
162# wrap to preceeding line if move left from col 1*/don't wrap 162# wrap to preceding line if move left from col 1*/don't wrap
163# wrap to next line if move right from col 80*/don't wrap 163# wrap to next line if move right from col 80*/don't wrap
164# backspace is/is not destructive* 164# backspace is/is not destructive*
165# 165#
@@ -804,7 +804,7 @@ MS|soroc|Soroc 120:\
804 :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a: 804 :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a:
805# Needs function keys added. Also can't use 60 line mode because it needs 805# Needs function keys added. Also can't use 60 line mode because it needs
806# too much nl delay - can fix for nl but not out of vi. 806# too much nl delay - can fix for nl but not out of vi.
807# The cl delay is sufficent, but a smaller one could do. 807# The cl delay is sufficient, but a smaller one could do.
808# This entry is merged from Mike O'Brien@Rand and Howard Katseff at 808# This entry is merged from Mike O'Brien@Rand and Howard Katseff at
809# Bell Labs, and is untested. 809# Bell Labs, and is untested.
810Mb|aaa|ambas|ambassador|ann arbor ambassador/48 lines:\ 810Mb|aaa|ambas|ambassador|ann arbor ambassador/48 lines:\
diff --git a/lib-src/aixcc.lex b/lib-src/aixcc.lex
index 784d68d82b9..b7b44701b18 100644
--- a/lib-src/aixcc.lex
+++ b/lib-src/aixcc.lex
@@ -157,7 +157,7 @@ yywrap ()
157 157
158^([a-z]\ -)?\ *{EC}: { 158^([a-z]\ -)?\ *{EC}: {
159 /* 159 /*
160 * error message (which we print immediately) preceeded by an 160 * error message (which we print immediately) preceded by an
161 * error code (which we ignore) 161 * error code (which we ignore)
162 */ 162 */
163 163
diff --git a/lib-src/emacstool.c b/lib-src/emacstool.c
index 1312dd912fc..80381643c2a 100644
--- a/lib-src/emacstool.c
+++ b/lib-src/emacstool.c
@@ -65,7 +65,7 @@
65/* define WANT_CAPS_LOCK to make f-key T1 (aka F1) behave as CapsLock */ 65/* define WANT_CAPS_LOCK to make f-key T1 (aka F1) behave as CapsLock */
66#define WANT_CAPS_LOCK 66#define WANT_CAPS_LOCK
67#ifdef WANT_CAPS_LOCK 67#ifdef WANT_CAPS_LOCK
68int caps_lock; /* toggle indicater for f-key T1 caps lock */ 68int caps_lock; /* toggle indicator for f-key T1 caps lock */
69static char *Caps = "[CAPS] "; /* Caps Lock prefix string */ 69static char *Caps = "[CAPS] "; /* Caps Lock prefix string */
70#define CAPS_LEN 7 /* strlen (Caps) */ 70#define CAPS_LEN 7 /* strlen (Caps) */
71#endif 71#endif
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 24b6da53d5e..5d0389f911f 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -834,7 +834,7 @@ process_file (file)
834} 834}
835 835
836/* 836/*
837 * This routine sets up the boolean psuedo-functions which work 837 * This routine sets up the boolean pseudo-functions which work
838 * by setting boolean flags dependent upon the corresponding character 838 * by setting boolean flags dependent upon the corresponding character
839 * Every char which is NOT in that string is not a white char. Therefore, 839 * Every char which is NOT in that string is not a white char. Therefore,
840 * all of the array "_wht" is set to FALSE, and then the elements 840 * all of the array "_wht" is set to FALSE, and then the elements
@@ -2845,7 +2845,7 @@ readline (linebuffer, stream)
2845 register char *pend; 2845 register char *pend;
2846 int newline; /* 1 if ended with newline, 0 if ended with EOF */ 2846 int newline; /* 1 if ended with newline, 0 if ended with EOF */
2847 2847
2848 pend = p + linebuffer->size; /* Separate to avoind 386/IX compiler bug. */ 2848 pend = p + linebuffer->size; /* Separate to avoid 386/IX compiler bug. */
2849 2849
2850 while (1) 2850 while (1)
2851 { 2851 {
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index ee149b503ed..2fb9af0849f 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -407,7 +407,7 @@ scan_c_file (filename)
407 starting in column zero. 407 starting in column zero.
408 (quote NAME) may appear as 'NAME as well. 408 (quote NAME) may appear as 'NAME as well.
409 For defun, defmacro, and autoload, we know how to skip over the arglist. 409 For defun, defmacro, and autoload, we know how to skip over the arglist.
410 For defvar, defconst, and fset we skip to the docstring with a klugey 410 For defvar, defconst, and fset we skip to the docstring with a kludgy
411 formatting convention: all docstrings must appear on the same line as the 411 formatting convention: all docstrings must appear on the same line as the
412 initial open-paren (the one in column zero) and must contain a backslash 412 initial open-paren (the one in column zero) and must contain a backslash
413 and a double-quote immediately after the initial double-quote. No newlines 413 and a double-quote immediately after the initial double-quote. No newlines
diff --git a/lib-src/timer.c b/lib-src/timer.c
index ef46b29f126..d6419ef4cc8 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -52,7 +52,7 @@ struct event *events; /* events[0 .. num_events-1] are the
52 52
53char *pname; /* programme name for error messages */ 53char *pname; /* programme name for error messages */
54 54
55/* Accepts a string of two fields seperated by FS. 55/* Accepts a string of two fields separated by FS.
56 First field is string for get_date, saying when to wake-up. 56 First field is string for get_date, saying when to wake-up.
57 Second field is a token to identify the request. */ 57 Second field is a token to identify the request. */
58void 58void
diff --git a/lib-src/yow.c b/lib-src/yow.c
index d01429d829d..7bfde3322e4 100644
--- a/lib-src/yow.c
+++ b/lib-src/yow.c
@@ -101,7 +101,7 @@ yow (fp)
101 } 101 }
102 102
103 /* Read until SEP, read next line, print it. 103 /* Read until SEP, read next line, print it.
104 (Note that we will never print anything before the first seperator.) 104 (Note that we will never print anything before the first separator.)
105 If we hit EOF looking for the first SEP, just recurse. */ 105 If we hit EOF looking for the first SEP, just recurse. */
106 while ((c = getc(fp)) != SEP) 106 while ((c = getc(fp)) != SEP)
107 if (c == EOF) { 107 if (c == EOF) {
diff --git a/lisp/add-log.el b/lisp/add-log.el
index a90237f96ce..d121a76cdf6 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -213,7 +213,7 @@ Interactively, with a prefix argument, the file name is prompted for."
213 213
214;;;###autoload 214;;;###autoload
215(defun change-log-mode () 215(defun change-log-mode ()
216 "Major mode for editting change logs; like Indented Text Mode. 216 "Major mode for editing change logs; like Indented Text Mode.
217Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. 217Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74.
218New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. 218New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window].
219Each entry behaves as a paragraph, and the entries for one day as a page. 219Each entry behaves as a paragraph, and the entries for one day as a page.
diff --git a/lisp/allout.el b/lisp/allout.el
index d94afc3defc..b76d90c7b2d 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -11,7 +11,7 @@
11;;;_ - Author: Ken Manheimer <klm@nist.gov> 11;;;_ - Author: Ken Manheimer <klm@nist.gov>
12;;;_ - Maintainer: Ken Manheimer <klm@nist.gov> 12;;;_ - Maintainer: Ken Manheimer <klm@nist.gov>
13;;;_ - Created: Dec 1991 - first release to usenet 13;;;_ - Created: Dec 1991 - first release to usenet
14;;;_ - Version: $Id: allout.el,v 1.1 1993/06/02 17:53:31 rms Exp rms $|| 14;;;_ - Version: $Id: allout.el,v 1.2 1993/06/07 18:48:08 rms Exp jimb $||
15;;;_ - Keywords: outline mode 15;;;_ - Keywords: outline mode
16 16
17;;;_ - LCD Archive Entry 17;;;_ - LCD Archive Entry
@@ -19,7 +19,7 @@
19;; LCD Archive Entry: 19;; LCD Archive Entry:
20;; allout|Ken Manheimer|klm@nist.gov 20;; allout|Ken Manheimer|klm@nist.gov
21;; |A more thorough outline-mode 21;; |A more thorough outline-mode
22;; |27-May-1993|$Id: allout.el,v 1.1 1993/06/02 17:53:31 rms Exp rms $|| 22;; |27-May-1993|$Id: allout.el,v 1.2 1993/06/07 18:48:08 rms Exp jimb $||
23 23
24;;;_ - Description 24;;;_ - Description
25;; A full-fledged outline mode, based on the original rudimentary 25;; A full-fledged outline mode, based on the original rudimentary
@@ -65,7 +65,7 @@
65 65
66;;;_ = outline-primary-bullet 66;;;_ = outline-primary-bullet
67(defvar outline-primary-bullet "*") ;; Changing this var disables any 67(defvar outline-primary-bullet "*") ;; Changing this var disables any
68 ;; backwards compatability with 68 ;; backwards compatibility with
69 ;; the original outline mode. 69 ;; the original outline mode.
70(make-variable-buffer-local 'outline-primary-bullet) 70(make-variable-buffer-local 'outline-primary-bullet)
71 71
@@ -333,7 +333,7 @@ up major and minor-mode keybindings.")
333 333
334;;;_ : Key bindings 334;;;_ : Key bindings
335;;;_ = Generic minor keybindings control 335;;;_ = Generic minor keybindings control
336;;;_ ; Stallmans suggestion 336;;;_ ; Stallman's suggestion
337(defvar outline-mode-map nil "") 337(defvar outline-mode-map nil "")
338 338
339(if outline-mode-map 339(if outline-mode-map
@@ -594,7 +594,7 @@ Topic: A basic cohesive component of an emacs outline, which can
594Exposure: Hidden (~closed~) topics are represented by ellipses ('...') 594Exposure: Hidden (~closed~) topics are represented by ellipses ('...')
595 at the end of the visible SUPERTOPIC which contains them, 595 at the end of the visible SUPERTOPIC which contains them,
596 rather than by their actual text. Hidden topics are still 596 rather than by their actual text. Hidden topics are still
597 susceptable to editing and regular movement functions, they 597 susceptible to editing and regular movement functions, they
598 just are not displayed normally, effectively collapsed into 598 just are not displayed normally, effectively collapsed into
599 the ellipses which represent them. Outline mode provides 599 the ellipses which represent them. Outline mode provides
600 the means to selectively expose topics based on their 600 the means to selectively expose topics based on their
@@ -618,7 +618,7 @@ Header: The initial portion of an outline topic. It is composed of a
618 topic header PREFIX at the beginning of the line, followed by 618 topic header PREFIX at the beginning of the line, followed by
619 text to the end of the EFFECTIVE LINE. 619 text to the end of the EFFECTIVE LINE.
620 620
621Body: Any subsequent lines of text following a topic header and preceeding 621Body: Any subsequent lines of text following a topic header and preceding
622 the next one. This is also referred to as the entry for a topic. 622 the next one. This is also referred to as the entry for a topic.
623 623
624Prefix: The text which distinguishes topic headers from normal text 624Prefix: The text which distinguishes topic headers from normal text
@@ -629,7 +629,7 @@ Prefix: The text which distinguishes topic headers from normal text
629 by zero or more spaces and then an outline BULLET. [Note - you 629 by zero or more spaces and then an outline BULLET. [Note - you
630 can now designate your own, arbitrary HEADER-LEAD string, by 630 can now designate your own, arbitrary HEADER-LEAD string, by
631 setting the variable 'outline-header-prefix'.] The second form 631 setting the variable 'outline-header-prefix'.] The second form
632 is for backwards compatability with the original emacs outline 632 is for backwards compatibility with the original emacs outline
633 mode, and consists solely of asterisks. Both sorts are 633 mode, and consists solely of asterisks. Both sorts are
634 recognized by all outline commands. The first sort is generated 634 recognized by all outline commands. The first sort is generated
635 by outline topic production commands if the emacs variable 635 by outline topic production commands if the emacs variable
@@ -1656,7 +1656,7 @@ and cancellation of a search.")
1656 that the index for the numbered prefix will be derived, by counting 1656 that the index for the numbered prefix will be derived, by counting
1657 siblings back to start of level. If INDEX is a number, then that 1657 siblings back to start of level. If INDEX is a number, then that
1658 number is used as the index for the numbered prefix (allowing, eg, 1658 number is used as the index for the numbered prefix (allowing, eg,
1659 sequential renumbering to not requre this function counting back the 1659 sequential renumbering to not require this function counting back the
1660 index for each successive sibling)." 1660 index for each successive sibling)."
1661 1661
1662 ;; The options are ordered in likely frequence of use, most common 1662 ;; The options are ordered in likely frequence of use, most common
@@ -1778,7 +1778,7 @@ and cancellation of a search.")
1778 - Creation of sibling or nested topics is with respect to the topic 1778 - Creation of sibling or nested topics is with respect to the topic
1779 you're starting from, even when creating backwards. This way you 1779 you're starting from, even when creating backwards. This way you
1780 can easily create a sibling in front of the current topic without 1780 can easily create a sibling in front of the current topic without
1781 having to go to it's preceeding sibling, and then open forward 1781 having to go to its preceding sibling, and then open forward
1782 from there." 1782 from there."
1783 1783
1784 (let* ((depth (+ (outline-current-depth) relative-depth)) 1784 (let* ((depth (+ (outline-current-depth) relative-depth))
@@ -1814,7 +1814,7 @@ and cancellation of a search.")
1814 (or (and (not (> relative-depth 0)) 1814 (or (and (not (> relative-depth 0))
1815 ;; not descending, 1815 ;; not descending,
1816 (save-excursion 1816 (save-excursion
1817 ;; preceeded by a blank line? 1817 ;; preceded by a blank line?
1818 (forward-line -1) 1818 (forward-line -1)
1819 (looking-at "^\\s-*$"))) 1819 (looking-at "^\\s-*$")))
1820 (and (= ref-depth 1) 1820 (and (= ref-depth 1)
@@ -1906,7 +1906,7 @@ and cancellation of a search.")
1906 " Reindent body lines which were indented at old-depth to new-depth. 1906 " Reindent body lines which were indented at old-depth to new-depth.
1907 1907
1908 Note that refill of indented paragraphs is not done, and tabs are 1908 Note that refill of indented paragraphs is not done, and tabs are
1909 not accomodated. ('untabify' your outline if you want to preserve 1909 not accommodated. ('untabify' your outline if you want to preserve
1910 hanging body indents.)" 1910 hanging body indents.)"
1911 1911
1912 (save-excursion 1912 (save-excursion
@@ -2292,7 +2292,7 @@ parameterized communication between the two, if suitable.")
2292 (yank arg) 2292 (yank arg)
2293 (exchange-dot-and-mark) 2293 (exchange-dot-and-mark)
2294 (if (and established-depth ; the established stuff qualifies. 2294 (if (and established-depth ; the established stuff qualifies.
2295 ;; The yanked stuff also qualfies - is topic(s): 2295 ;; The yanked stuff also qualifies - is topic(s):
2296 (looking-at (concat "\\(" outline-regexp "\\)"))) 2296 (looking-at (concat "\\(" outline-regexp "\\)")))
2297 ;; Ok, adjust the depth of the yanked stuff. Note that the 2297 ;; Ok, adjust the depth of the yanked stuff. Note that the
2298 ;; stuff may have more than a single root, so we have to 2298 ;; stuff may have more than a single root, so we have to
@@ -2426,7 +2426,7 @@ parameterized communication between the two, if suitable.")
2426 ) 2426 )
2427 ) 2427 )
2428 ) 2428 )
2429;;;_ > outline-to-entry-end - Unmaintained compatability - ignore this! 2429;;;_ > outline-to-entry-end - Unmaintained compatibility - ignore this!
2430;------------------------------------------------------------------- 2430;-------------------------------------------------------------------
2431; Something added solely for use by a "smart menu" package someone got 2431; Something added solely for use by a "smart menu" package someone got
2432; off the net. I have no idea whether this is appropriate code. 2432; off the net. I have no idea whether this is appropriate code.
@@ -2538,7 +2538,7 @@ parameterized communication between the two, if suitable.")
2538 (if arg (insert-string (format "\t\t\t(%s \"%s\")\n" 2538 (if arg (insert-string (format "\t\t\t(%s \"%s\")\n"
2539 "outline-lead-with-comment-string" 2539 "outline-lead-with-comment-string"
2540 arg))) 2540 arg)))
2541 ; Insert ammouncement and 2541 ; Insert announcement and
2542 ; exposure control: 2542 ; exposure control:
2543 (insert-string 2543 (insert-string
2544 (format "\t\t\t%s %s\n\t\t\t%s %s\n\t\t%s %s" 2544 (format "\t\t\t%s %s\n\t\t\t%s %s\n\t\t%s %s"
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 2236db26d5c..9b40a747b3a 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -128,7 +128,7 @@
128 128
129;;; Gateways: 129;;; Gateways:
130;;; 130;;;
131;;; Sometimes it is neccessary for the FTP process to be run on a different 131;;; Sometimes it is necessary for the FTP process to be run on a different
132;;; machine than the machine running GNU Emacs. This can happen when the 132;;; machine than the machine running GNU Emacs. This can happen when the
133;;; local machine has restrictions on what hosts it can access. 133;;; local machine has restrictions on what hosts it can access.
134;;; 134;;;
@@ -151,7 +151,7 @@
151;;; 151;;;
152;;; 3) Using NFS and symlinks, make sure that there is a shared directory with 152;;; 3) Using NFS and symlinks, make sure that there is a shared directory with
153;;; the *same* name between the local machine and the gateway machine. 153;;; the *same* name between the local machine and the gateway machine.
154;;; This directory is neccessary for temporary files created by ange-ftp. 154;;; This directory is necessary for temporary files created by ange-ftp.
155;;; 155;;;
156;;; 4) Set the variable 'ange-ftp-gateway-tmp-name-template' to the name of 156;;; 4) Set the variable 'ange-ftp-gateway-tmp-name-template' to the name of
157;;; this directory plus an identifying filename prefix. For example: 157;;; this directory plus an identifying filename prefix. For example:
@@ -223,7 +223,7 @@
223;;; there is a chance you might connect to an ULTRIX machine (such as 223;;; there is a chance you might connect to an ULTRIX machine (such as
224;;; prep.ai.mit.edu), then set this variable accordingly. This will have 224;;; prep.ai.mit.edu), then set this variable accordingly. This will have
225;;; the side effect that dired will have problems with symlinks whose names 225;;; the side effect that dired will have problems with symlinks whose names
226;;; end in an @. If you get youself into this situation then editing 226;;; end in an @. If you get yourself into this situation then editing
227;;; dired's ls-switches to remove "F", will temporarily fix things. 227;;; dired's ls-switches to remove "F", will temporarily fix things.
228;;; 228;;;
229;;; 2. If you know that you are connecting to a certain non-UNIX machine 229;;; 2. If you know that you are connecting to a certain non-UNIX machine
@@ -379,7 +379,7 @@
379;;; 1. Umask problems: 379;;; 1. Umask problems:
380;;; Be warned that files created by using ange-ftp will take account of the 380;;; Be warned that files created by using ange-ftp will take account of the
381;;; umask of the ftp daemon process rather than the umask of the creating 381;;; umask of the ftp daemon process rather than the umask of the creating
382;;; user. This is particulary important when logging in as the root user. 382;;; user. This is particularly important when logging in as the root user.
383;;; The way that I tighten up the ftp daemon's umask under HP-UX is to make 383;;; The way that I tighten up the ftp daemon's umask under HP-UX is to make
384;;; sure that the umask is changed to 027 before I spawn /etc/inetd. I 384;;; sure that the umask is changed to 027 before I spawn /etc/inetd. I
385;;; suspect that there is something similar on other systems. 385;;; suspect that there is something similar on other systems.
@@ -856,7 +856,7 @@ SIZE, if supplied, should be a prime number."
856;;;; Internal variables. 856;;;; Internal variables.
857;;;; ------------------------------------------------------------ 857;;;; ------------------------------------------------------------
858 858
859(defconst ange-ftp-version "$Revision: 1.23 $") 859(defconst ange-ftp-version "$Revision: 1.24 $")
860 860
861(defvar ange-ftp-data-buffer-name " *ftp data*" 861(defvar ange-ftp-data-buffer-name " *ftp data*"
862 "Buffer name to hold directory listing data received from ftp process.") 862 "Buffer name to hold directory listing data received from ftp process.")
@@ -1060,7 +1060,7 @@ Optional DEFAULT is password to start with."
1060 "Return the password for specified HOST and USER, asking user if necessary." 1060 "Return the password for specified HOST and USER, asking user if necessary."
1061 (ange-ftp-parse-netrc) 1061 (ange-ftp-parse-netrc)
1062 1062
1063 ;; look up password in the hash table first; user might have overriden the 1063 ;; look up password in the hash table first; user might have overridden the
1064 ;; defaults. 1064 ;; defaults.
1065 (cond ((ange-ftp-lookup-passwd host user)) 1065 (cond ((ange-ftp-lookup-passwd host user))
1066 1066
@@ -1373,7 +1373,7 @@ then kill the related ftp process."
1373;;;; ------------------------------------------------------------ 1373;;;; ------------------------------------------------------------
1374 1374
1375(defun ange-ftp-process-handle-line (line proc) 1375(defun ange-ftp-process-handle-line (line proc)
1376 "Look at the given LINE from the ftp process PROC. Try to catagorize it 1376 "Look at the given LINE from the ftp process PROC. Try to categorize it
1377into one of four categories: good, skip, fatal, or unknown." 1377into one of four categories: good, skip, fatal, or unknown."
1378 (cond ((string-match ange-ftp-xfer-size-msgs line) 1378 (cond ((string-match ange-ftp-xfer-size-msgs line)
1379 (setq ange-ftp-xfer-size 1379 (setq ange-ftp-xfer-size
@@ -3160,7 +3160,7 @@ system TYPE.")
3160;; (kill-buffer (current-buffer)))))) 3160;; (kill-buffer (current-buffer))))))
3161 3161
3162;; this is the extended version of ange-ftp-copy-file-internal that works 3162;; this is the extended version of ange-ftp-copy-file-internal that works
3163;; asyncronously if asked nicely. 3163;; asynchronously if asked nicely.
3164(defun ange-ftp-copy-file-internal (filename newname ok-if-already-exists 3164(defun ange-ftp-copy-file-internal (filename newname ok-if-already-exists
3165 keep-date &optional msg cont nowait) 3165 keep-date &optional msg cont nowait)
3166 (setq filename (expand-file-name filename) 3166 (setq filename (expand-file-name filename)
@@ -4060,7 +4060,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
4060;; 0 ;success-count 4060;; 0 ;success-count
4061;; (length fn-list) ;total 4061;; (length fn-list) ;total
4062;; ) 4062;; )
4063;; ;; normal case... use the interative routine... much cheaper. 4063;; ;; normal case... use the interactive routine... much cheaper.
4064;; (ange-ftp-real-dired-create-files file-creator operation fn-list 4064;; (ange-ftp-real-dired-create-files file-creator operation fn-list
4065;; name-constructor marker-char))) 4065;; name-constructor marker-char)))
4066 4066
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index eb4c8386c3f..88e439a0539 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -23,7 +23,7 @@
23;;; Commentary: 23;;; Commentary:
24 24
25;; Edit, delete, or change attributes of all currently active Emacs 25;; Edit, delete, or change attributes of all currently active Emacs
26;; buffers from a list summarizing thir state. A good way to browse 26;; buffers from a list summarizing their state. A good way to browse
27;; any special or scratch buffers you have loaded, since you can't find 27;; any special or scratch buffers you have loaded, since you can't find
28;; them by filename. The single entry point is `Buffer-menu-mode', 28;; them by filename. The single entry point is `Buffer-menu-mode',
29;; normally bound to C-x C-b. 29;; normally bound to C-x C-b.
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index c6396379fdd..5efe24fe296 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -48,7 +48,7 @@
48;; calendar, to the Islamic calendar, to the French Revolutionary calendar, 48;; calendar, to the Islamic calendar, to the French Revolutionary calendar,
49;; to the Mayan calendar, and to the astronomical (Julian) day number. 49;; to the Mayan calendar, and to the astronomical (Julian) day number.
50;; When floating point is available, times of sunrise/sunset can be displayed, 50;; When floating point is available, times of sunrise/sunset can be displayed,
51;; as can the phases of the moon. Appointment notication for diary entries 51;; as can the phases of the moon. Appointment notification for diary entries
52;; is available. 52;; is available.
53 53
54;; The following files are part of the calendar/diary code: 54;; The following files are part of the calendar/diary code:
@@ -360,7 +360,7 @@ characters with or without a period.")
360 (monthname " *" day ", *" year "[^0-9]") 360 (monthname " *" day ", *" year "[^0-9]")
361 (dayname "\\W")) 361 (dayname "\\W"))
362 "*List of pseudo-patterns describing the American patterns of date used. 362 "*List of pseudo-patterns describing the American patterns of date used.
363See the documentation of diary-date-forms for an explanantion.") 363See the documentation of diary-date-forms for an explanation.")
364 364
365;;;###autoload 365;;;###autoload
366(defvar european-date-diary-pattern 366(defvar european-date-diary-pattern
@@ -370,7 +370,7 @@ See the documentation of diary-date-forms for an explanantion.")
370 (day " *" monthname " *" year "[^0-9]") 370 (day " *" monthname " *" year "[^0-9]")
371 (dayname "\\W")) 371 (dayname "\\W"))
372 "*List of pseudo-patterns describing the European patterns of date used. 372 "*List of pseudo-patterns describing the European patterns of date used.
373See the documentation of diary-date-forms for an explanantion.") 373See the documentation of diary-date-forms for an explanation.")
374 374
375;;;###autoload 375;;;###autoload
376(defvar diary-date-forms 376(defvar diary-date-forms
@@ -405,14 +405,14 @@ a portion of the first word of the diary entry.")
405 '((if dayname (concat dayname ", ")) day " " monthname " " year) 405 '((if dayname (concat dayname ", ")) day " " monthname " " year)
406 "*The pseudo-pattern that governs the way a Gregorian date is formatted 406 "*The pseudo-pattern that governs the way a Gregorian date is formatted
407in the European style. See the documentation of calendar-date-display-forms 407in the European style. See the documentation of calendar-date-display-forms
408for an explanantion.") 408for an explanation.")
409 409
410;;;###autoload 410;;;###autoload
411(defvar american-calendar-display-form 411(defvar american-calendar-display-form
412 '((if dayname (concat dayname ", ")) monthname " " day ", " year) 412 '((if dayname (concat dayname ", ")) monthname " " day ", " year)
413 "*The pseudo-pattern that governs the way a Gregorian date is formatted 413 "*The pseudo-pattern that governs the way a Gregorian date is formatted
414in the American style. See the documentation of calendar-date-display-forms 414in the American style. See the documentation of calendar-date-display-forms
415for an explanantion.") 415for an explanation.")
416 416
417;;;###autoload 417;;;###autoload
418(defvar calendar-date-display-form 418(defvar calendar-date-display-form
@@ -962,7 +962,7 @@ add Thomas Jefferson's birthday, April 2, 1743 (Julian), use
962 962
963To include a holiday conditionally, use the if or the sexp form. For example, 963To include a holiday conditionally, use the if or the sexp form. For example,
964to include American presidential elections, which occur on the first Tuesday 964to include American presidential elections, which occur on the first Tuesday
965after the first Monday in November of years divisble by 4, add 965after the first Monday in November of years divisible by 4, add
966 966
967 (sexp (if (zerop (% year 4)) 967 (sexp (if (zerop (% year 4))
968 (calendar-gregorian-from-absolute 968 (calendar-gregorian-from-absolute
@@ -1747,7 +1747,7 @@ Revolutionary, and Mayan calendars can be determined by
1747 \\[calendar-print-french-date] show equivalent date on the French Revolutionary calendar 1747 \\[calendar-print-french-date] show equivalent date on the French Revolutionary calendar
1748 \\[calendar-print-mayan-date] show equivalent date on the Mayan calendar 1748 \\[calendar-print-mayan-date] show equivalent date on the Mayan calendar
1749 1749
1750The astromonical (Julian) day number of a date is found with 1750The astronomical (Julian) day number of a date is found with
1751 1751
1752 \\[calendar-print-astro-day-number] show equivalent astronomical (Julian) day number 1752 \\[calendar-print-astro-day-number] show equivalent astronomical (Julian) day number
1753 1753
@@ -3112,7 +3112,7 @@ shown by cursor."
3112 "Move cursor to astronomical (Julian) DAYNUMBER. 3112 "Move cursor to astronomical (Julian) DAYNUMBER.
3113Echo astronomical (Julian) day number unless NOECHO is t." 3113Echo astronomical (Julian) day number unless NOECHO is t."
3114 (interactive (list (calendar-read 3114 (interactive (list (calendar-read
3115 "Astromonical (Julian) day number (>1721425): " 3115 "Astronomical (Julian) day number (>1721425): "
3116 '(lambda (x) (> x 1721425))))) 3116 '(lambda (x) (> x 1721425)))))
3117 (calendar-goto-date (calendar-gregorian-from-absolute (- daynumber 1721425))) 3117 (calendar-goto-date (calendar-gregorian-from-absolute (- daynumber 1721425)))
3118 (or noecho (calendar-print-astro-day-number))) 3118 (or noecho (calendar-print-astro-day-number)))
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 02cc6e6ba53..f9f582b9a46 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -27,7 +27,7 @@
27;;; Commentary: 27;;; Commentary:
28 28
29;; This collection of functions implements the features of calendar.el and 29;; This collection of functions implements the features of calendar.el and
30;; diary.el that deal with sunrise/sunset and eqinoxes/solstices. 30;; diary.el that deal with sunrise/sunset and equinoxes/solstices.
31 31
32;; Based on the ``Almanac for Computers 1984,'' prepared by the Nautical 32;; Based on the ``Almanac for Computers 1984,'' prepared by the Nautical
33;; Almanac Office, United States Naval Observatory, Washington, 1984 and 33;; Almanac Office, United States Naval Observatory, Washington, 1984 and
diff --git a/lisp/cl.el b/lisp/cl.el
index aeb90b9977f..1a6a385e3ee 100644
--- a/lisp/cl.el
+++ b/lisp/cl.el
@@ -1358,7 +1358,7 @@ if clumsier, control over this feature."
1358;;; extract a value with (extract-from-klist KLIST KEY [DEFAULT]). 1358;;; extract a value with (extract-from-klist KLIST KEY [DEFAULT]).
1359 1359
1360(defun reduce (function sequence &rest kargs) 1360(defun reduce (function sequence &rest kargs)
1361 "Apply FUNCTION (a function of two arguments) to succesive pairs of elements 1361 "Apply FUNCTION (a function of two arguments) to successive pairs of elements
1362from SEQUENCE. Some keyword arguments are valid after FUNCTION and SEQUENCE: 1362from SEQUENCE. Some keyword arguments are valid after FUNCTION and SEQUENCE:
1363:from-end If non-nil, process the values backwards 1363:from-end If non-nil, process the values backwards
1364:initial-value If given, prefix it to the SEQUENCE. Suffix, if :from-end 1364:initial-value If given, prefix it to the SEQUENCE. Suffix, if :from-end
@@ -1665,7 +1665,7 @@ The arguments must be integers. With no arguments, value is zero."
1665 (do* ((absa (abs (nth 0 integers))) ; better to operate only 1665 (do* ((absa (abs (nth 0 integers))) ; better to operate only
1666 (absb (abs (nth 1 integers))) ;on positives. 1666 (absb (abs (nth 1 integers))) ;on positives.
1667 (dd (max absa absb)) ; setup correct order for the 1667 (dd (max absa absb)) ; setup correct order for the
1668 (ds (min absa absb)) ;succesive divisions. 1668 (ds (min absa absb)) ;successive divisions.
1669 ;; intermediate results 1669 ;; intermediate results
1670 (q 0) 1670 (q 0)
1671 (r 0) 1671 (r 0)
@@ -1968,7 +1968,7 @@ updating called for."
1968 1968
1969(defsetf apply 1969(defsetf apply
1970 (lambda (&rest args) 1970 (lambda (&rest args)
1971 ;; dissasemble the calling form 1971 ;; disassemble the calling form
1972 ;; "(((quote fn) x1 x2 ... xn) val)" (function instead of quote, too) 1972 ;; "(((quote fn) x1 x2 ... xn) val)" (function instead of quote, too)
1973 (let* ((fnform (car args)) ;functional form 1973 (let* ((fnform (car args)) ;functional form
1974 (applyargs (append ;arguments "to apply fnform" 1974 (applyargs (append ;arguments "to apply fnform"
@@ -2383,7 +2383,7 @@ Each option is either a symbol, or a list of a keyword symbol taken from the
2383list \{:conc-name, :copier, :constructor, :predicate, :include, 2383list \{:conc-name, :copier, :constructor, :predicate, :include,
2384:print-function, :type, :initial-offset\}. The meanings of these are as in 2384:print-function, :type, :initial-offset\}. The meanings of these are as in
2385CLtL, except that no BOA-constructors are provided, and the options 2385CLtL, except that no BOA-constructors are provided, and the options
2386\{:print-fuction, :type, :initial-offset\} are ignored quietly. All these 2386\{:print-function, :type, :initial-offset\} are ignored quietly. All these
2387structs are named, in the sense that their names can be used for type 2387structs are named, in the sense that their names can be used for type
2388discrimination. 2388discrimination.
2389 2389
diff --git a/lisp/cmulisp.el b/lisp/cmulisp.el
index 3557be394b5..1e49da84165 100644
--- a/lisp/cmulisp.el
+++ b/lisp/cmulisp.el
@@ -626,7 +626,7 @@ to be the new process's buffer. If you only run one process, this will
626do the right thing. If you run multiple processes, you can change 626do the right thing. If you run multiple processes, you can change
627cmulisp-buffer to another process buffer with \\[set-variable]. 627cmulisp-buffer to another process buffer with \\[set-variable].
628 628
629More sophisticated approaches are, of course, possible. If you find youself 629More sophisticated approaches are, of course, possible. If you find yourself
630needing to switch back and forth between multiple processes frequently, 630needing to switch back and forth between multiple processes frequently,
631you may wish to consider ilisp.el, a larger, more sophisticated package 631you may wish to consider ilisp.el, a larger, more sophisticated package
632for running inferior Lisp processes. The approach taken here is for a 632for running inferior Lisp processes. The approach taken here is for a
diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el
index 982a0c3dc10..a4a98aac936 100644
--- a/lisp/cmuscheme.el
+++ b/lisp/cmuscheme.el
@@ -402,7 +402,7 @@ to be the new process's buffer. If you only run one process, this will
402do the right thing. If you run multiple processes, you can change 402do the right thing. If you run multiple processes, you can change
403scheme-buffer to another process buffer with \\[set-variable]. 403scheme-buffer to another process buffer with \\[set-variable].
404 404
405More sophisticated approaches are, of course, possible. If you find youself 405More sophisticated approaches are, of course, possible. If you find yourself
406needing to switch back and forth between multiple processes frequently, 406needing to switch back and forth between multiple processes frequently,
407you may wish to consider ilisp.el, a larger, more sophisticated package 407you may wish to consider ilisp.el, a larger, more sophisticated package
408for running inferior Lisp and Scheme processes. The approach taken here is 408for running inferior Lisp and Scheme processes. The approach taken here is
diff --git a/lisp/comint.el b/lisp/comint.el
index fb97ec7a5a4..e494e706195 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1356,7 +1356,7 @@ This is a good place to put keybindings.")
1356;;; 9/5/90 shivers 1356;;; 9/5/90 shivers
1357;;; - Changed make-variable-buffer-local's to make-local-variable's. 1357;;; - Changed make-variable-buffer-local's to make-local-variable's.
1358;;; This leaves non-comint-mode buffers alone. Stephane Payrard 1358;;; This leaves non-comint-mode buffers alone. Stephane Payrard
1359;;; reported the sloppy useage. 1359;;; reported the sloppy usage.
1360;;; - You can now go from comint-previous-similar-input to 1360;;; - You can now go from comint-previous-similar-input to
1361;;; comint-previous-input with no problem. 1361;;; comint-previous-input with no problem.
1362;;; 1362;;;
diff --git a/lisp/completion.el b/lisp/completion.el
index e450c55162a..2192239f56a 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -111,13 +111,13 @@
111;;;--------------------- 111;;;---------------------
112;;; 112;;;
113;;; A "word" is any string containing characters with either word or symbol 113;;; A "word" is any string containing characters with either word or symbol
114;;; syntax. [E.G. Any alphanumeric string with hypens, underscores, etc.] 114;;; syntax. [E.G. Any alphanumeric string with hyphens, underscores, etc.]
115;;; Unless you change the constants, you must type at least three characters 115;;; Unless you change the constants, you must type at least three characters
116;;; for the word to be recognized. Only words longer than 6 characters are 116;;; for the word to be recognized. Only words longer than 6 characters are
117;;; saved. 117;;; saved.
118;;; 118;;;
119;;; When you load this file, completion will be on. I suggest you use the 119;;; When you load this file, completion will be on. I suggest you use the
120;;; compiled version (because it is noticibly faster). 120;;; compiled version (because it is noticeably faster).
121;;; 121;;;
122;;; M-X completion-mode toggles whether or not new words are added to the 122;;; M-X completion-mode toggles whether or not new words are added to the
123;;; database by changing the value of enable-completion. 123;;; database by changing the value of enable-completion.
@@ -273,7 +273,7 @@
273;;; superior to that of the LISPM version. 273;;; superior to that of the LISPM version.
274;;; 274;;;
275;;;----------------------------------------------- 275;;;-----------------------------------------------
276;;; Acknowlegements 276;;; Acknowledgements
277;;;----------------------------------------------- 277;;;-----------------------------------------------
278;;; Cliff Lasser (cal@think.com), Kevin Herbert (kph@cisco.com), 278;;; Cliff Lasser (cal@think.com), Kevin Herbert (kph@cisco.com),
279;;; eero@media-lab, kgk@cs.brown.edu, jla@ai.mit.edu, 279;;; eero@media-lab, kgk@cs.brown.edu, jla@ai.mit.edu,
@@ -527,7 +527,7 @@ Used to decide whether to save completions.")
527;;; 527;;;
528;;; C diffs -> 528;;; C diffs ->
529;;; Separator chars :: + * / : % 529;;; Separator chars :: + * / : %
530;;; A note on the hypen (`-'). Perhaps, the hypen should also be a separator 530;;; A note on the hyphen (`-'). Perhaps the hyphen should also be a separator
531;;; char., however, we wanted to have completion symbols include pointer 531;;; char., however, we wanted to have completion symbols include pointer
532;;; references. For example, "foo->bar" is a symbol as far as completion is 532;;; references. For example, "foo->bar" is a symbol as far as completion is
533;;; concerned. 533;;; concerned.
@@ -1060,7 +1060,7 @@ This is sensitive to `case-fold-search'."
1060(defconst cmpl-obarray-length 511) 1060(defconst cmpl-obarray-length 511)
1061 1061
1062(defvar cmpl-prefix-obarray (make-vector cmpl-obarray-length 0) 1062(defvar cmpl-prefix-obarray (make-vector cmpl-obarray-length 0)
1063 "An obarray used to store the downcased completion prefices. 1063 "An obarray used to store the downcased completion prefixes.
1064Each symbol is bound to a list of completion entries.") 1064Each symbol is bound to a list of completion entries.")
1065 1065
1066(defvar cmpl-obarray (make-vector cmpl-obarray-length 0) 1066(defvar cmpl-obarray (make-vector cmpl-obarray-length 0)
@@ -1139,7 +1139,7 @@ Each symbol is bound to a single completion entry.")
1139(defmacro set-cmpl-prefix-entry-tail (prefix-entry new-tail) 1139(defmacro set-cmpl-prefix-entry-tail (prefix-entry new-tail)
1140 (list 'setcdr prefix-entry new-tail)) 1140 (list 'setcdr prefix-entry new-tail))
1141 1141
1142;;; Contructor 1142;;; Constructor
1143 1143
1144(defun make-cmpl-prefix-entry (completion-entry-list) 1144(defun make-cmpl-prefix-entry (completion-entry-list)
1145 "Makes a new prefix entry containing only completion-entry." 1145 "Makes a new prefix entry containing only completion-entry."
@@ -1287,7 +1287,7 @@ Must be called after `find-exact-completion'."
1287;;; WRITES 1287;;; WRITES
1288(defun add-completion-to-tail-if-new (string) 1288(defun add-completion-to-tail-if-new (string)
1289 "If STRING is not in the database add it to appropriate prefix list. 1289 "If STRING is not in the database add it to appropriate prefix list.
1290STRING is added to the end of the approppriate prefix list with 1290STRING is added to the end of the appropriate prefix list with
1291num-uses = 0. The database is unchanged if it is there. STRING must be 1291num-uses = 0. The database is unchanged if it is there. STRING must be
1292longer than `completion-prefix-min-length'. 1292longer than `completion-prefix-min-length'.
1293This must be very fast. 1293This must be very fast.
@@ -1321,7 +1321,7 @@ Returns the completion entry."
1321 1321
1322(defun add-completion-to-head (string) 1322(defun add-completion-to-head (string)
1323 "If STRING is not in the database, add it to prefix list. 1323 "If STRING is not in the database, add it to prefix list.
1324STRING is added to the head of the approppriate prefix list. Otherwise 1324STRING is added to the head of the appropriate prefix list. Otherwise
1325it is moved to the head of the list. 1325it is moved to the head of the list.
1326STRING must be longer than `completion-prefix-min-length'. 1326STRING must be longer than `completion-prefix-min-length'.
1327Updates the saved string with the supplied string. 1327Updates the saved string with the supplied string.
@@ -1779,7 +1779,7 @@ If there are no more entries, try cdabbrev and then return only a string."
1779 1779
1780(defun complete (&optional arg) 1780(defun complete (&optional arg)
1781 "Fill out a completion of the word before point. 1781 "Fill out a completion of the word before point.
1782Point is left at end. Consective calls rotate through all possibilities. 1782Point is left at end. Consecutive calls rotate through all possibilities.
1783Prefix args :: 1783Prefix args ::
1784 control-u :: leave the point at the beginning of the completion rather 1784 control-u :: leave the point at the beginning of the completion rather
1785 than at the end. 1785 than at the end.
@@ -2049,14 +2049,14 @@ Prefix args ::
2049;;; Symbol separator chars (have whitespace syntax) --> , ; * = ( 2049;;; Symbol separator chars (have whitespace syntax) --> , ; * = (
2050;;; Opening char --> [ { 2050;;; Opening char --> [ {
2051;;; Closing char --> ] } 2051;;; Closing char --> ] }
2052;;; openning and closing must be skipped over 2052;;; opening and closing must be skipped over
2053;;; Whitespace chars (have symbol syntax) 2053;;; Whitespace chars (have symbol syntax)
2054;;; Everything else has word syntax 2054;;; Everything else has word syntax
2055 2055
2056(defun cmpl-make-c-def-completion-syntax-table () 2056(defun cmpl-make-c-def-completion-syntax-table ()
2057 (let ((table (make-vector 256 0)) 2057 (let ((table (make-vector 256 0))
2058 (whitespace-chars '(? ?\n ?\t ?\f ?\v ?\r)) 2058 (whitespace-chars '(? ?\n ?\t ?\f ?\v ?\r))
2059 ;; unforunately the ?( causes the parens to appear unbalanced 2059 ;; unfortunately the ?( causes the parens to appear unbalanced
2060 (separator-chars '(?, ?* ?= ?\( ?\; 2060 (separator-chars '(?, ?* ?= ?\( ?\;
2061 )) 2061 ))
2062 ) 2062 )
@@ -2505,14 +2505,14 @@ Patched to remove the most recent completion."
2505;;; Patches to self-insert-command. 2505;;; Patches to self-insert-command.
2506;;;----------------------------------------------- 2506;;;-----------------------------------------------
2507 2507
2508;;; Need 2 versions: generic seperator chars. and space (to get auto fill 2508;;; Need 2 versions: generic separator chars. and space (to get auto fill
2509;;; to work) 2509;;; to work)
2510 2510
2511;;; All common separators (eg. space "(" ")" """) characters go through a 2511;;; All common separators (eg. space "(" ")" """) characters go through a
2512;;; function to add new words to the list of words to complete from: 2512;;; function to add new words to the list of words to complete from:
2513;;; COMPLETION-SEPARATOR-SELF-INSERT-COMMAND (arg). 2513;;; COMPLETION-SEPARATOR-SELF-INSERT-COMMAND (arg).
2514;;; If the character before this was an alpha-numeric then this adds the 2514;;; If the character before this was an alpha-numeric then this adds the
2515;;; symbol befoe point to the completion list (using ADD-COMPLETION). 2515;;; symbol before point to the completion list (using ADD-COMPLETION).
2516 2516
2517(defun completion-separator-self-insert-command (arg) 2517(defun completion-separator-self-insert-command (arg)
2518 (interactive "p") 2518 (interactive "p")
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index e452bf26c61..16b28fc4e1e 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -269,7 +269,7 @@ with a prefix argument."
269(defun dired-shell-quote (filename) 269(defun dired-shell-quote (filename)
270 "Quote a file name for inferior shell (see variable `shell-file-name')." 270 "Quote a file name for inferior shell (see variable `shell-file-name')."
271 ;; Quote everything except POSIX filename characters. 271 ;; Quote everything except POSIX filename characters.
272 ;; This should be safe enough even for really wierd shells. 272 ;; This should be safe enough even for really weird shells.
273 (let ((result "") (start 0) end) 273 (let ((result "") (start 0) end)
274 (while (string-match "[^---0-9a-zA-Z_./]" filename start) 274 (while (string-match "[^---0-9a-zA-Z_./]" filename start)
275 (setq end (match-beginning 0) 275 (setq end (match-beginning 0)
@@ -480,7 +480,7 @@ and use this command with a prefix argument (the value does not matter)."
480(defun dired-compress-file (file) 480(defun dired-compress-file (file)
481 ;; Compress or uncompress FILE. 481 ;; Compress or uncompress FILE.
482 ;; Return the name of the compressed or uncompressed file. 482 ;; Return the name of the compressed or uncompressed file.
483 ;; Rerurn nil if no change in files. 483 ;; Return nil if no change in files.
484 (let ((handler (find-file-name-handler file))) 484 (let ((handler (find-file-name-handler file)))
485 (cond (handler 485 (cond (handler
486 (funcall handler 'dired-compress-file file)) 486 (funcall handler 'dired-compress-file file))
@@ -767,7 +767,7 @@ a prefix arg lets you edit the `ls' switches used for the new listing."
767 nil)) 767 nil))
768 (if reason ; don't move away on failure 768 (if reason ; don't move away on failure
769 (goto-char opoint)) 769 (goto-char opoint))
770 (not reason))) ; return t on succes, nil else 770 (not reason))) ; return t on success, nil else
771 771
772;; This is a separate function for the sake of nested dired format. 772;; This is a separate function for the sake of nested dired format.
773(defun dired-add-entry-do-indentation (marker-char) 773(defun dired-add-entry-do-indentation (marker-char)
@@ -1100,7 +1100,7 @@ ESC or `q' to not overwrite any of the remaining files,
1100 ;; the new files. Target may be a plain file if only one marked 1100 ;; the new files. Target may be a plain file if only one marked
1101 ;; file exists. 1101 ;; file exists.
1102 ;; OP-SYMBOL is the symbol for the operation. Function `dired-mark-pop-up' 1102 ;; OP-SYMBOL is the symbol for the operation. Function `dired-mark-pop-up'
1103 ;; will determine wether pop-ups are appropriate for this OP-SYMBOL. 1103 ;; will determine whether pop-ups are appropriate for this OP-SYMBOL.
1104 ;; FILE-CREATOR and OPERATION as in dired-create-files. 1104 ;; FILE-CREATOR and OPERATION as in dired-create-files.
1105 ;; ARG as in dired-get-marked-files. 1105 ;; ARG as in dired-get-marked-files.
1106 ;; Optional arg OP1 is an alternate form for OPERATION if there is 1106 ;; Optional arg OP1 is an alternate form for OPERATION if there is
diff --git a/lisp/dired.el b/lisp/dired.el
index 680b116dd01..f3916b62b12 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -48,7 +48,7 @@ may contain even `F', `b', `i' and `s'.")
48(defvar dired-chown-program 48(defvar dired-chown-program
49 (if (memq system-type '(hpux dgux usg-unix-v silicon-graphics-unix)) 49 (if (memq system-type '(hpux dgux usg-unix-v silicon-graphics-unix))
50 "chown" "/etc/chown") 50 "chown" "/etc/chown")
51 "Name of chown command (usully `chown' or `/etc/chown').") 51 "Name of chown command (usually `chown' or `/etc/chown').")
52 52
53;;;###autoload 53;;;###autoload
54(defvar dired-ls-F-marks-symlinks nil 54(defvar dired-ls-F-marks-symlinks nil
@@ -824,7 +824,7 @@ Keybindings:
824 (dired-sort-other dired-actual-switches t) 824 (dired-sort-other dired-actual-switches t)
825 (run-hooks 'dired-mode-hook)) 825 (run-hooks 'dired-mode-hook))
826 826
827;; Ideosyncratic dired commands that don't deal with marks. 827;; Idiosyncratic dired commands that don't deal with marks.
828 828
829(defun dired-quit () 829(defun dired-quit ()
830 "Bury the current dired buffer." 830 "Bury the current dired buffer."
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index a74e30ad851..ef5d4a02c99 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26 ;;; This is a rudimentry backquote package written by D. King, 26 ;;; This is a rudimentary backquote package written by D. King,
27 ;;; king@kestrel, on 8/31/85. (` x) is a macro 27 ;;; king@kestrel, on 8/31/85. (` x) is a macro
28 ;;; that expands to a form that produces x. (` (a b ..)) is 28 ;;; that expands to a form that produces x. (` (a b ..)) is
29 ;;; a macro that expands into a form that produces a list of what a b 29 ;;; a macro that expands into a form that produces a list of what a b
@@ -83,7 +83,7 @@ a list-value atom"
83;;; These two advertised variables control what characters are used to 83;;; These two advertised variables control what characters are used to
84 ;;; unquote things. I have included , and ,@ as the unquote and 84 ;;; unquote things. I have included , and ,@ as the unquote and
85 ;;; splice operators, respectively, to give users of MIT CADR machine 85 ;;; splice operators, respectively, to give users of MIT CADR machine
86 ;;; derivitive machines a warm, cosy feeling. 86 ;;; derivative machines a warm, cosy feeling.
87 87
88(defconst backquote-unquote '(,) 88(defconst backquote-unquote '(,)
89 "*A list of all objects that stimulate unquoting in `. Memq test.") 89 "*A list of all objects that stimulate unquoting in `. Memq test.")
@@ -181,7 +181,7 @@ See backquote.el for details"
181 181
182;;; Given a state/tailmaker pair that already knows how to make a 182;;; Given a state/tailmaker pair that already knows how to make a
183 ;;; partial tail of the desired form, this function knows how to add 183 ;;; partial tail of the desired form, this function knows how to add
184 ;;; yet another element to the burgening list. There are four cases; 184 ;;; yet another element to the burgeoning list. There are four cases;
185 ;;; the next item is an atom (which will certainly be quoted); a 185 ;;; the next item is an atom (which will certainly be quoted); a
186 ;;; (, xxx), which will be evaluated and put into the list at the top 186 ;;; (, xxx), which will be evaluated and put into the list at the top
187 ;;; level; a (,@ xxx), which will be evaluated and spliced in, or 187 ;;; level; a (,@ xxx), which will be evaluated and spliced in, or
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 4a39a71c617..c7ab880cf60 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -388,7 +388,7 @@
388 388
389 ((memq fn '(and or)) ; remember, and/or are control structures. 389 ((memq fn '(and or)) ; remember, and/or are control structures.
390 ;; take forms off the back until we can't any more. 390 ;; take forms off the back until we can't any more.
391 ;; In the future it could concievably be a problem that the 391 ;; In the future it could conceivably be a problem that the
392 ;; subexpressions of these forms are optimized in the reverse 392 ;; subexpressions of these forms are optimized in the reverse
393 ;; order, but it's ok for now. 393 ;; order, but it's ok for now.
394 (if for-effect 394 (if for-effect
@@ -522,7 +522,7 @@
522;;; 522;;;
523;;; It is now safe to optimize code such that it introduces new bindings. 523;;; It is now safe to optimize code such that it introduces new bindings.
524 524
525;; I'd like this to be a defsubst, but let's not be self-referental... 525;; I'd like this to be a defsubst, but let's not be self-referential...
526(defmacro byte-compile-trueconstp (form) 526(defmacro byte-compile-trueconstp (form)
527 ;; Returns non-nil if FORM is a non-nil constant. 527 ;; Returns non-nil if FORM is a non-nil constant.
528 (` (cond ((consp (, form)) (eq (car (, form)) 'quote)) 528 (` (cond ((consp (, form)) (eq (car (, form)) 'quote))
@@ -773,7 +773,7 @@
773;; I'm not convinced that this is necessary. Doesn't the optimizer loop 773;; I'm not convinced that this is necessary. Doesn't the optimizer loop
774;; take care of this? - Jamie 774;; take care of this? - Jamie
775;; I think this may some times be necessary to reduce ie (quote 5) to 5, 775;; I think this may some times be necessary to reduce ie (quote 5) to 5,
776;; so arithmetic optimizers recognize the numerinc constant. - Hallvard 776;; so arithmetic optimizers recognize the numeric constant. - Hallvard
777(put 'quote 'byte-optimizer 'byte-optimize-quote) 777(put 'quote 'byte-optimizer 'byte-optimize-quote)
778(defun byte-optimize-quote (form) 778(defun byte-optimize-quote (form)
779 (if (or (consp (nth 1 form)) 779 (if (or (consp (nth 1 form))
@@ -1063,7 +1063,7 @@
1063;;; and by the disassembler. 1063;;; and by the disassembler.
1064;;; 1064;;;
1065(defun byte-decompile-bytecode (bytes constvec) 1065(defun byte-decompile-bytecode (bytes constvec)
1066 "Turns BYTECODE into lapcode, refering to CONSTVEC." 1066 "Turns BYTECODE into lapcode, referring to CONSTVEC."
1067 (let ((byte-compile-constants nil) 1067 (let ((byte-compile-constants nil)
1068 (byte-compile-variables nil) 1068 (byte-compile-variables nil)
1069 (byte-compile-tag-number 0)) 1069 (byte-compile-tag-number 0))
@@ -1418,7 +1418,7 @@ may generate incorrect code.")
1418 ((and (eq (car lap0) 'TAG) 1418 ((and (eq (car lap0) 'TAG)
1419 (eq (car lap1) 'TAG)) 1419 (eq (car lap1) 'TAG))
1420 (and (memq byte-optimize-log '(t byte)) 1420 (and (memq byte-optimize-log '(t byte))
1421 (byte-compile-log " adjascent tags %d and %d merged" 1421 (byte-compile-log " adjacent tags %d and %d merged"
1422 (nth 1 lap1) (nth 1 lap0))) 1422 (nth 1 lap1) (nth 1 lap0)))
1423 (setq tmp3 lap) 1423 (setq tmp3 lap)
1424 (while (setq tmp2 (rassq lap0 tmp3)) 1424 (while (setq tmp2 (rassq lap0 tmp3))
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index ce72c041551..d1f03516f7c 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -143,7 +143,7 @@
143;;; 143;;;
144;;; o The form `eval-when-compile' is like progn, except that the body 144;;; o The form `eval-when-compile' is like progn, except that the body
145;;; is evaluated at compile-time. When it appears at top-level, this 145;;; is evaluated at compile-time. When it appears at top-level, this
146;;; is analagous to the Common Lisp idiom (eval-when (compile) ...). 146;;; is analogous to the Common Lisp idiom (eval-when (compile) ...).
147;;; When it does not appear at top-level, it is similar to the 147;;; When it does not appear at top-level, it is similar to the
148;;; Common Lisp #. reader macro (but not in interpreted code.) 148;;; Common Lisp #. reader macro (but not in interpreted code.)
149;;; 149;;;
@@ -407,7 +407,7 @@ Each element is (INDEX . VALUE)")
407(byte-defop 24 -1 byte-varbind "for binding a variable") 407(byte-defop 24 -1 byte-varbind "for binding a variable")
408(byte-defop 32 0 byte-call "for calling a function") 408(byte-defop 32 0 byte-call "for calling a function")
409(byte-defop 40 0 byte-unbind "for unbinding special bindings") 409(byte-defop 40 0 byte-unbind "for unbinding special bindings")
410;; codes 8-47 are consumed by the preceeding opcodes 410;; codes 8-47 are consumed by the preceding opcodes
411 411
412;; unused: 48-55 412;; unused: 48-55
413 413
@@ -2205,7 +2205,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2205(defun byte-compile-associative (form) 2205(defun byte-compile-associative (form)
2206 (if (cdr form) 2206 (if (cdr form)
2207 (let ((opcode (get (car form) 'byte-opcode))) 2207 (let ((opcode (get (car form) 'byte-opcode)))
2208 ;; To compile all the args first may enable some optimizaions. 2208 ;; To compile all the args first may enable some optimizations.
2209 (mapcar 'byte-compile-form (setq form (cdr form))) 2209 (mapcar 'byte-compile-form (setq form (cdr form)))
2210 (while (setq form (cdr form)) 2210 (while (setq form (cdr form))
2211 (byte-compile-out opcode 0))) 2211 (byte-compile-out opcode 0)))
@@ -2310,7 +2310,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2310 2310
2311(defun byte-compile-funarg (form) 2311(defun byte-compile-funarg (form)
2312 ;; (mapcar '(lambda (x) ..) ..) ==> (mapcar (function (lambda (x) ..)) ..) 2312 ;; (mapcar '(lambda (x) ..) ..) ==> (mapcar (function (lambda (x) ..)) ..)
2313 ;; for cases where it's guarenteed that first arg will be used as a lambda. 2313 ;; for cases where it's guaranteed that first arg will be used as a lambda.
2314 (byte-compile-normal-call 2314 (byte-compile-normal-call
2315 (let ((fn (nth 1 form))) 2315 (let ((fn (nth 1 form)))
2316 (if (and (eq (car-safe fn) 'quote) 2316 (if (and (eq (car-safe fn) 'quote)
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index f063f92ee7a..f6ad1854012 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -74,7 +74,7 @@ by `lisp-body-indent'.")
74 ;; which does special things with subforms. 74 ;; which does special things with subforms.
75 (let ((depth 0) 75 (let ((depth 0)
76 ;; Path describes the position of point in terms of 76 ;; Path describes the position of point in terms of
77 ;; list-structure with respect to contining lists. 77 ;; list-structure with respect to containing lists.
78 ;; `foo' has a path of (0 4 1) in `((a b c (d foo) f) g)' 78 ;; `foo' has a path of (0 4 1) in `((a b c (d foo) f) g)'
79 (path ()) 79 (path ())
80 ;; set non-nil when somebody works out the indentation to use 80 ;; set non-nil when somebody works out the indentation to use
@@ -331,7 +331,7 @@ by `lisp-body-indent'.")
331 path state indent-point sexp-column normal-indent)) 331 path state indent-point sexp-column normal-indent))
332 (funcall (function lisp-indent-259) 332 (funcall (function lisp-indent-259)
333 '((&whole nil &rest 333 '((&whole nil &rest
334 ;; the following causes wierd indentation 334 ;; the following causes weird indentation
335 ;;(&whole 1 1 2 nil) 335 ;;(&whole 1 1 2 nil)
336 ) 336 )
337 (&whole nil &rest 1)) 337 (&whole nil &rest 1))
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el
index 355b046b956..863c8daaf3b 100644
--- a/lisp/emacs-lisp/cust-print.el
+++ b/lisp/emacs-lisp/cust-print.el
@@ -121,8 +121,8 @@ If nil, printing proceeds recursively and may lead to
121`print-length' and `print-level'. 121`print-length' and `print-level'.
122 122
123If non-nil, shared substructures anywhere in the structure are printed 123If non-nil, shared substructures anywhere in the structure are printed
124with `#N=' before the first occurance (in the order of the print 124with `#N=' before the first occurrence (in the order of the print
125representation) and `#N#' in place of each subsequent occurance, 125representation) and `#N#' in place of each subsequent occurrence,
126where N is a positive decimal integer. 126where N is a positive decimal integer.
127 127
128Currently, there is no way to read this representation in Emacs.") 128Currently, there is no way to read this representation in Emacs.")
@@ -269,7 +269,7 @@ string argument will also work. The string is generated with
269 269
270(defun custom-message (fmt &rest args) 270(defun custom-message (fmt &rest args)
271 "Replacement for standard `message' that works like `custom-format'." 271 "Replacement for standard `message' that works like `custom-format'."
272 ;; It doesnt work to princ the result of custom-format 272 ;; It doesn't work to princ the result of custom-format
273 ;; because the echo area requires special handling 273 ;; because the echo area requires special handling
274 ;; to avoid duplicating the output. cust-print-internal-message does it right. 274 ;; to avoid duplicating the output. cust-print-internal-message does it right.
275 ;; (cust-print-internal-princ (apply 'custom-format fmt args)) 275 ;; (cust-print-internal-princ (apply 'custom-format fmt args))
@@ -352,7 +352,7 @@ string argument will also work. The string is generated with
352;; Print the custom OBJECT using the custom type ALIST. 352;; Print the custom OBJECT using the custom type ALIST.
353;; For the first predicate that matches the object, the corresponding 353;; For the first predicate that matches the object, the corresponding
354;; converter is evaluated with the object and the string that results is 354;; converter is evaluated with the object and the string that results is
355;; printed with princ. Return nil if no predicte matches the object. 355;; printed with princ. Return nil if no predicate matches the object.
356(defun cust-print-custom-object1 (object alist) 356(defun cust-print-custom-object1 (object alist)
357 (while (and alist (not (funcall (car (car alist)) object))) 357 (while (and alist (not (funcall (car (car alist)) object)))
358 (setq alist (cdr alist))) 358 (setq alist (cdr alist)))
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 46bc1616487..a5acfd50875 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -127,7 +127,7 @@
127;;; Reset edebug-mode only on 127;;; Reset edebug-mode only on
128;;; first entry of any function at each recursive-edit level. 128;;; first entry of any function at each recursive-edit level.
129;;; Add edebug-backtrace, to generate cleaned up 129;;; Add edebug-backtrace, to generate cleaned up
130;;; backtrace. It doesnt "work" like the debug backtrace, however. 130;;; backtrace. It doesn't "work" like the debug backtrace, however.
131;;; Require reselecting outside window even if 131;;; Require reselecting outside window even if
132;;; quit occurs, otherwise save-excursions may restore 132;;; quit occurs, otherwise save-excursions may restore
133;;; buffer to the wrong window. 133;;; buffer to the wrong window.
@@ -180,9 +180,9 @@
180;;; Leave point at syntax error, mark at starting position. 180;;; Leave point at syntax error, mark at starting position.
181;;; 181;;;
182;;; Revision 1.2 88/11/28 12:14:15 liberte 182;;; Revision 1.2 88/11/28 12:14:15 liberte
183;;; Bug fixes: cond construct didnt execute. 183;;; Bug fixes: cond construct didn't execute.
184;;; () in sexp list didnt parse 184;;; () in sexp list didn't parse
185;;; () as variable in condition-case didnt parse. 185;;; () as variable in condition-case didn't parse.
186;;; 186;;;
187;;; Revision 1.1 88/11/28 12:11:27 liberte 187;;; Revision 1.1 88/11/28 12:11:27 liberte
188;;; Initial revision 188;;; Initial revision
@@ -281,7 +281,7 @@ Assumes Emacs Lisp syntax is active."
281 281
282(defun edebug-window-list () 282(defun edebug-window-list ()
283 "Return a list of windows, in order of next-window." 283 "Return a list of windows, in order of next-window."
284 ;; This doesnt work for epoch. 284 ;; This doesn't work for epoch.
285 (let* ((first-window (selected-window)) 285 (let* ((first-window (selected-window))
286 (window-list (list first-window)) 286 (window-list (list first-window))
287 (next (next-window first-window))) 287 (next (next-window first-window)))
@@ -1026,7 +1026,7 @@ Leave point after the value, if there is one."
1026 (nreverse value-value-list))) 1026 (nreverse value-value-list)))
1027 1027
1028 1028
1029;; Bug: this doesnt support condition name lists 1029;; Bug: this doesn't support condition name lists
1030(put 'condition-case 'edebug-form-hook 1030(put 'condition-case 'edebug-form-hook
1031 '(symbolp 1031 '(symbolp
1032 form 1032 form
@@ -1398,7 +1398,7 @@ This is to avoid spurious recentering.")
1398 (eq edebug-arg-mode 'error)) 1398 (eq edebug-arg-mode 'error))
1399 (progn 1399 (progn
1400 (setq edebug-mode 'step) 1400 (setq edebug-mode 'step)
1401 (edebug-overlay-arrow) ; this doesnt always show up. 1401 (edebug-overlay-arrow) ; this doesn't always show up.
1402 (edebug-recursive-edit));; <<<<<< Recursive edit 1402 (edebug-recursive-edit));; <<<<<< Recursive edit
1403 ) 1403 )
1404 1404
diff --git a/lisp/emacs-lisp/float.el b/lisp/emacs-lisp/float.el
index f6e7bb74972..04281d7eb73 100644
--- a/lisp/emacs-lisp/float.el
+++ b/lisp/emacs-lisp/float.el
@@ -71,10 +71,10 @@
71 "Number of highest bit") 71 "Number of highest bit")
72 72
73(defconst mantissa-maxval (1- (ash 1 maxbit)) 73(defconst mantissa-maxval (1- (ash 1 maxbit))
74 "Maximum permissable value of mantissa") 74 "Maximum permissible value of mantissa")
75 75
76(defconst mantissa-minval (ash 1 maxbit) 76(defconst mantissa-minval (ash 1 maxbit)
77 "Minimum permissable value of mantissa") 77 "Minimum permissible value of mantissa")
78 78
79(defconst floating-point-regexp 79(defconst floating-point-regexp
80 "^[ \t]*\\(-?\\)\\([0-9]*\\)\ 80 "^[ \t]*\\(-?\\)\\([0-9]*\\)\
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 17acda41e22..f7d29dff72c 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -371,7 +371,7 @@ of the start of the containing expression."
371 (parse-partial-sexp (point) last-sexp 0 t) 371 (parse-partial-sexp (point) last-sexp 0 t)
372 (backward-prefix-chars))))) 372 (backward-prefix-chars)))))
373 ;; Point is at the point to indent under unless we are inside a string. 373 ;; Point is at the point to indent under unless we are inside a string.
374 ;; Call indentation hook except when overriden by lisp-indent-offset 374 ;; Call indentation hook except when overridden by lisp-indent-offset
375 ;; or if the desired indentation has already been computed. 375 ;; or if the desired indentation has already been computed.
376 (let ((normal-indent (current-column))) 376 (let ((normal-indent (current-column)))
377 (cond ((elt state 3) 377 (cond ((elt state 3)
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 9c4cbd1d788..854afdddbf0 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26;; Lisp ediing commands to go with Lisp major mode. 26;; Lisp editing commands to go with Lisp major mode.
27 27
28;;; Code: 28;;; Code:
29 29
diff --git a/lisp/emerge.el b/lisp/emerge.el
index 3247c6c6a2e..53749d7c445 100644
--- a/lisp/emerge.el
+++ b/lisp/emerge.el
@@ -365,9 +365,9 @@ the markers.
365 default-B the merge buffer contains the B variant by default, 365 default-B the merge buffer contains the B variant by default,
366 but this difference hasn't been selected yet, so 366 but this difference hasn't been selected yet, so
367 change-default commands can alter it 367 change-default commands can alter it
368 prefer-A in a three-file merge, the A variant is the prefered 368 prefer-A in a three-file merge, the A variant is the preferred
369 choice 369 choice
370 prefer-B in a three-file merge, the B variant is the prefered 370 prefer-B in a three-file merge, the B variant is the preferred
371 choice") 371 choice")
372(emerge-defvar-local emerge-current-difference -1 372(emerge-defvar-local emerge-current-difference -1
373 "The difference that is currently selected.") 373 "The difference that is currently selected.")
@@ -1073,7 +1073,7 @@ Otherwise, the A or B file present is copied to the output file."
1073 (t 1073 (t
1074 (error "Unrecognized entry")))) 1074 (error "Unrecognized entry"))))
1075 ;; If the match on the entry pattern failed 1075 ;; If the match on the entry pattern failed
1076 (error "Unparseable entry"))) 1076 (error "Unparsable entry")))
1077 ;; Make sure that file-A and file-B are present 1077 ;; Make sure that file-A and file-B are present
1078 (if (not (or (and file-A file-B) file-out)) 1078 (if (not (or (and file-A file-B) file-out))
1079 (error "Must have both `A' and `B' entries")) 1079 (error "Must have both `A' and `B' entries"))
@@ -2008,7 +2008,7 @@ Use C-u l to reset the windows afterward."
2008 2008
2009(defun emerge-join-differences (arg) 2009(defun emerge-join-differences (arg)
2010 "Join the selected difference with the following one. 2010 "Join the selected difference with the following one.
2011With a prefix argument, join with the preceeding one." 2011With a prefix argument, join with the preceding one."
2012 (interactive "P") 2012 (interactive "P")
2013 (let ((n emerge-current-difference)) 2013 (let ((n emerge-current-difference))
2014 ;; adjust n to be first difference to join 2014 ;; adjust n to be first difference to join
@@ -2288,11 +2288,11 @@ the nearest previous difference."
2288 (if (< index emerge-number-of-differences) 2288 (if (< index emerge-number-of-differences)
2289 index 2289 index
2290 (error "No difference contains or follows point"))) 2290 (error "No difference contains or follows point")))
2291 ;; if the arg is negative, select the preceeding difference 2291 ;; if the arg is negative, select the preceding difference
2292 (t 2292 (t
2293 (if (> index 0) 2293 (if (> index 0)
2294 (1- index) 2294 (1- index)
2295 (error "No difference contains or preceeds point"))))))) 2295 (error "No difference contains or precedes point")))))))
2296 2296
2297(defun emerge-line-numbers () 2297(defun emerge-line-numbers ()
2298 "Display the current line numbers. 2298 "Display the current line numbers.
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 875cb173075..3770767fe92 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -391,7 +391,7 @@ The keys redefined by \\[edt-emulation-on] are given their old definitions."
391 (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed" 391 (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed"
392 392
393(defvar GOLD-map (make-keymap) 393(defvar GOLD-map (make-keymap)
394 "`GOLD-map' maps the function keys on the VT100 keyboard preceeded 394 "`GOLD-map' maps the function keys on the VT100 keyboard preceded
395by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.") 395by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.")
396 396
397(defalias 'GOLD-prefix GOLD-map) 397(defalias 'GOLD-prefix GOLD-map)
diff --git a/lisp/emulation/mlconvert.el b/lisp/emulation/mlconvert.el
index c186622e43b..9a8d9f4e2ea 100644
--- a/lisp/emulation/mlconvert.el
+++ b/lisp/emulation/mlconvert.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26;; This package conversts Mocklisp code written under a Gosling or UniPress 26;; This package converts Mocklisp code written under a Gosling or UniPress
27;; Emacs for use with GNU Emacs. The translated code will require runtime 27;; Emacs for use with GNU Emacs. The translated code will require runtime
28;; support from the mlsupport.el equivalent. 28;; support from the mlsupport.el equivalent.
29 29
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el
index 5c9f71b96a5..0f42f72c7d5 100644
--- a/lisp/emulation/vi.el
+++ b/lisp/emulation/vi.el
@@ -332,7 +332,7 @@ command extensions.")
332 "Save last direction, char and upto-flag used for char finding.") 332 "Save last direction, char and upto-flag used for char finding.")
333 333
334(defvar vi-last-change-command nil ; cons cell 334(defvar vi-last-change-command nil ; cons cell
335 "Save commmands for redoing last changes. Each command is in (FUNC . ARGS) 335 "Save commands for redoing last changes. Each command is in (FUNC . ARGS)
336form that is ready to be 'apply'ed.") 336form that is ready to be 'apply'ed.")
337 337
338(defvar vi-last-shell-command nil ; last shell op command line 338(defvar vi-last-shell-command nil ; last shell op command line
@@ -790,7 +790,7 @@ The given COUNT is remembered for future scrollings."
790 790
791(defun vi-char-argument (arg) 791(defun vi-char-argument (arg)
792 "Get following character (could be any CHAR) as part of the prefix argument. 792 "Get following character (could be any CHAR) as part of the prefix argument.
793Possible perfix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)." 793Possible prefix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)."
794 (interactive "P") 794 (interactive "P")
795 (let ((char (read-char))) 795 (let ((char (read-char)))
796 (cond ((null arg) (setq prefix-arg (cons nil char))) 796 (cond ((null arg) (setq prefix-arg (cons nil char)))
@@ -1346,7 +1346,7 @@ The following CHAR will be the name for the command or macro."
1346 (vi-ask-for-info char)))) 1346 (vi-ask-for-info char))))
1347 1347
1348(defun vi-mark-region (arg region) 1348(defun vi-mark-region (arg region)
1349 "Mark region approriately. The next char REGION is d(efun),s(-exp),b(uffer), 1349 "Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer),
1350p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), 1350p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence),
1351l(ines)." 1351l(ines)."
1352 (interactive "p\nc") 1352 (interactive "p\nc")
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el
index 13f91aa069f..3c307625059 100644
--- a/lisp/emulation/vip.el
+++ b/lisp/emulation/vip.el
@@ -67,7 +67,7 @@
67 67
68(defvar vip-d-com nil 68(defvar vip-d-com nil
69 "If non-nil, it's value is a list (M-COM VAL COM), and is used to 69 "If non-nil, it's value is a list (M-COM VAL COM), and is used to
70re-execute last destrcutive command") 70re-execute last destructive command")
71 71
72(defconst vip-shift-width 8 72(defconst vip-shift-width 8
73 "*The number of colums shifted by > and < command.") 73 "*The number of colums shifted by > and < command.")
@@ -76,7 +76,7 @@ re-execute last destrcutive command")
76 "*If t then do regexp replace, if nil then do string replace.") 76 "*If t then do regexp replace, if nil then do string replace.")
77 77
78(defvar vip-d-char nil 78(defvar vip-d-char nil
79 "The character remenbered by the vi \"r\" command") 79 "The character remembered by the vi \"r\" command")
80 80
81(defvar vip-f-char nil 81(defvar vip-f-char nil
82 "for use by \";\" command") 82 "for use by \";\" command")
@@ -322,7 +322,7 @@ EVENTS is a list of events, which become the beginning of the command."
322 (vip-escape-to-emacs arg '(?\C-h))) 322 (vip-escape-to-emacs arg '(?\C-h)))
323 323
324 324
325;; prefix argmument for vi mode 325;; prefix argument for vi mode
326 326
327;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM 327;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM
328;; represents the numeric value of the prefix argument and COM represents 328;; represents the numeric value of the prefix argument and COM represents
@@ -359,7 +359,7 @@ obtained so far, and COM is the command part obtained so far."
359 (setq cont nil)) 359 (setq cont nil))
360 ;; if com is nil we set com as char, and read more. again, if char 360 ;; if com is nil we set com as char, and read more. again, if char
361 ;; is ", we read the name of register and store it in vip-use-register. 361 ;; is ", we read the name of register and store it in vip-use-register.
362 ;; if char is !, =, or #, a copmlete com is formed so we exit while. 362 ;; if char is !, =, or #, a complete com is formed so we exit while.
363 (cond ((or (= char ?!) (= char ?=)) 363 (cond ((or (= char ?!) (= char ?=))
364 (setq com char) 364 (setq com char)
365 (setq char (read-char)) 365 (setq char (read-char))
@@ -422,7 +422,7 @@ obtained so far, and COM is the command part obtained so far."
422 com (vip-getcom arg)) 422 com (vip-getcom arg))
423 (if (null val) 423 (if (null val)
424 (if (null com) 424 (if (null com)
425 (message "Value is nil, and commmand is nil.") 425 (message "Value is nil, and command is nil.")
426 (message "Value is nil, and command is %c." com)) 426 (message "Value is nil, and command is %c." com))
427 (if (null com) 427 (if (null com)
428 (message "Value is %d, and command is nil." val) 428 (message "Value is %d, and command is nil." val)
@@ -626,7 +626,7 @@ to vip-d-com for later use by vip-repeat"
626 reg)))) 626 reg))))
627 627
628(defun vip-repeat (arg) 628(defun vip-repeat (arg)
629 "(ARG) Re-excute last destructive command. vip-d-com has the form 629 "(ARG) Re-execute last destructive command. vip-d-com has the form
630(COM ARG CH REG), where COM is the command to be re-executed, ARG is the 630(COM ARG CH REG), where COM is the command to be re-executed, ARG is the
631argument for COM, CH is a flag for repeat, and REG is optional and if exists 631argument for COM, CH is a flag for repeat, and REG is optional and if exists
632is the name of the register for COM." 632is the name of the register for COM."
@@ -1128,7 +1128,7 @@ beginning of buffer, stop and signal error."
1128 (if com (vip-execute-com 'vip-goto-line val com)))) 1128 (if com (vip-execute-com 'vip-goto-line val com))))
1129 1129
1130(defun vip-find-char (arg char forward offset) 1130(defun vip-find-char (arg char forward offset)
1131 "Find ARG's occurence of CHAR on the current line. If FORWARD then 1131 "Find ARG's occurrence of CHAR on the current line. If FORWARD then
1132search is forward, otherwise backward. OFFSET is used to adjust point 1132search is forward, otherwise backward. OFFSET is used to adjust point
1133after search." 1133after search."
1134 (let ((arg (if forward arg (- arg))) point) 1134 (let ((arg (if forward arg (- arg))) point)
@@ -1429,7 +1429,7 @@ used. This behaviour is controlled by the sign of prefix numeric value."
1429;; searching 1429;; searching
1430 1430
1431(defun vip-search-forward (arg) 1431(defun vip-search-forward (arg)
1432 "Search a string forward. ARG is used to find the ARG's occurence 1432 "Search a string forward. ARG is used to find the ARG's occurrence
1433of the string. Default is vanilla search. Search mode can be toggled by 1433of the string. Default is vanilla search. Search mode can be toggled by
1434giving null search string." 1434giving null search string."
1435 (interactive "P") 1435 (interactive "P")
@@ -1449,7 +1449,7 @@ giving null search string."
1449 (vip-execute-com 'vip-search-next val com)))))) 1449 (vip-execute-com 'vip-search-next val com))))))
1450 1450
1451(defun vip-search-backward (arg) 1451(defun vip-search-backward (arg)
1452 "Search a string backward. ARG is used to find the ARG's occurence 1452 "Search a string backward. ARG is used to find the ARG's occurrence
1453of the string. Default is vanilla search. Search mode can be toggled by 1453of the string. Default is vanilla search. Search mode can be toggled by
1454giving null search string." 1454giving null search string."
1455 (interactive "P") 1455 (interactive "P")
@@ -2012,7 +2012,7 @@ is a command.")
2012 "pattern for global command") 2012 "pattern for global command")
2013 2013
2014(defvar ex-map (make-sparse-keymap) 2014(defvar ex-map (make-sparse-keymap)
2015 "save commnads for mapped keys") 2015 "save commands for mapped keys")
2016 2016
2017(defvar ex-tag nil 2017(defvar ex-tag nil
2018 "save ex tag") 2018 "save ex tag")
@@ -2988,7 +2988,7 @@ vip-s-string"
2988 (forward-line (1- ex-count))) 2988 (forward-line (1- ex-count)))
2989 (set-mark end)) 2989 (set-mark end))
2990 (vip-enlarge-region (point) (mark)) 2990 (vip-enlarge-region (point) (mark))
2991 (if ex-flag (error "Extra chacters at end of command")) 2991 (if ex-flag (error "Extra characters at end of command"))
2992 (if ex-buffer 2992 (if ex-buffer
2993 (copy-to-register ex-buffer (point) (mark) nil)) 2993 (copy-to-register ex-buffer (point) (mark) nil))
2994 (copy-region-as-kill (point) (mark))))) 2994 (copy-region-as-kill (point) (mark)))))
diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el
index b0d513be5d5..63c0c278634 100644
--- a/lisp/emulation/ws-mode.el
+++ b/lisp/emulation/ws-mode.el
@@ -469,7 +469,7 @@ in ws-last-errormessage for recovery with C-q w."
469 469
470 470
471(defun ws-indent-block () 471(defun ws-indent-block ()
472 "In WordStar mode: Indent block (not yet implemeted)." 472 "In WordStar mode: Indent block (not yet implemented)."
473 (interactive) 473 (interactive)
474 (ws-error "Indent block not yet implemented")) 474 (ws-error "Indent block not yet implemented"))
475 475
diff --git a/lisp/files.el b/lisp/files.el
index 33d889dd5f8..b7cbb96db2b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1846,7 +1846,7 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'."
1846 ;; would mean that our line of output would not display 1846 ;; would mean that our line of output would not display
1847 ;; FILE's name as given. To really address the problem that 1847 ;; FILE's name as given. To really address the problem that
1848 ;; SunOS 4.1.3 has, we need to find the right switch to get 1848 ;; SunOS 4.1.3 has, we need to find the right switch to get
1849 ;; a descripton of the link itself. 1849 ;; a description of the link itself.
1850 ;; (let (symlink) 1850 ;; (let (symlink)
1851 ;; (while (setq symlink (file-symlink-p file)) 1851 ;; (while (setq symlink (file-symlink-p file))
1852 ;; (setq file symlink))) 1852 ;; (setq file symlink)))
diff --git a/lisp/frame.el b/lisp/frame.el
index 0a0409d53a6..f18dbb29606 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -54,7 +54,7 @@ Parameters specified here supersede the values given in
54Pop-up frames are used for completions, help, and the like. 54Pop-up frames are used for completions, help, and the like.
55This variable can be set in your init file, like this: 55This variable can be set in your init file, like this:
56 (setq pop-up-frame-alist '((width . 80) (height . 20))) 56 (setq pop-up-frame-alist '((width . 80) (height . 20)))
57These supercede the values given in `default-frame-alist'.") 57These supersede the values given in `default-frame-alist'.")
58 58
59(setq pop-up-frame-function 59(setq pop-up-frame-function
60 (function (lambda () 60 (function (lambda ()
@@ -244,7 +244,7 @@ These supercede the values given in `default-frame-alist'.")
244;;;; Creation of additional frames, and other frame miscellanea 244;;;; Creation of additional frames, and other frame miscellanea
245 245
246;;; Return some frame other than the current frame, creating one if 246;;; Return some frame other than the current frame, creating one if
247;;; neccessary. Note that the minibuffer frame, if separate, is not 247;;; necessary. Note that the minibuffer frame, if separate, is not
248;;; considered (see next-frame). 248;;; considered (see next-frame).
249(defun get-other-frame () 249(defun get-other-frame ()
250 (let ((s (if (equal (next-frame (selected-frame)) (selected-frame)) 250 (let ((s (if (equal (next-frame (selected-frame)) (selected-frame))
diff --git a/lisp/gnus.el b/lisp/gnus.el
index 89ffe4a80b7..139dfe4edc3 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -1,6 +1,6 @@
1;;; GNUS: an NNTP-based News Reader for GNU Emacs 1;;; GNUS: an NNTP-based News Reader for GNU Emacs
2;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. 2;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc.
3;; $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.17 1993/06/04 05:33:32 rms Exp rms $ 3;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/gnus.el,v 1.18 1993/06/05 09:17:34 rms Exp jimb $
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
@@ -137,8 +137,8 @@ read in all newsgroups.")
137 137
138(defvar gnus-use-followup-to t 138(defvar gnus-use-followup-to t
139 "*Specifies what to do with Followup-To: field. 139 "*Specifies what to do with Followup-To: field.
140If nil, ignore followup-to: field. If t, use its value execpt for 140If nil, ignore followup-to: field. If t, use its value except for
141`poster'. Otherewise, if not nil nor t, always use its value.") 141`poster'. Otherwise, if not nil nor t, always use its value.")
142 142
143(defvar gnus-large-newsgroup 50 143(defvar gnus-large-newsgroup 50
144 "*The number of articles which indicates a large newsgroup. 144 "*The number of articles which indicates a large newsgroup.
@@ -276,7 +276,7 @@ mode buffer. The function is called with an article HEADER. The
276result must be a string excluding `[' and `]'.") 276result must be a string excluding `[' and `]'.")
277 277
278(defvar gnus-auto-extend-newsgroup t 278(defvar gnus-auto-extend-newsgroup t
279 "*Extend visible artciles to forward and backward if non-nil.") 279 "*Extend visible articles to forward and backward if non-nil.")
280 280
281(defvar gnus-auto-select-first t 281(defvar gnus-auto-select-first t
282 "*Select the first unread article automagically if non-nil. 282 "*Select the first unread article automagically if non-nil.
@@ -2780,7 +2780,7 @@ If argument UNREAD is non-nil, only unread article is selected."
2780 2780
2781(defun gnus-summary-next-page (lines) 2781(defun gnus-summary-next-page (lines)
2782 "Show next page of selected article. 2782 "Show next page of selected article.
2783If end of artile, select next article. 2783If end of article, select next article.
2784Argument LINES specifies lines to be scrolled up." 2784Argument LINES specifies lines to be scrolled up."
2785 (interactive "P") 2785 (interactive "P")
2786 (let ((article (gnus-summary-article-number)) 2786 (let ((article (gnus-summary-article-number))
@@ -2861,7 +2861,7 @@ NOTE: This command may not work with nnspool.el."
2861 (gnus-eval-in-buffer-window gnus-article-buffer 2861 (gnus-eval-in-buffer-window gnus-article-buffer
2862 ;; Look for parent Message-ID. 2862 ;; Look for parent Message-ID.
2863 ;; We cannot use gnus-current-headers to get references 2863 ;; We cannot use gnus-current-headers to get references
2864 ;; because we may be looking at parent or refered article. 2864 ;; because we may be looking at parent or referred article.
2865 (let ((references (gnus-fetch-field "References"))) 2865 (let ((references (gnus-fetch-field "References")))
2866 ;; Get the last message-id in the references. 2866 ;; Get the last message-id in the references.
2867 (and references 2867 (and references
@@ -2896,7 +2896,7 @@ NOTE: This command may not work with nnspool.el nor mhspool.el."
2896 (setq message-id (concat message-id ">"))) 2896 (setq message-id (concat message-id ">")))
2897 ;; Push current message-id on history. 2897 ;; Push current message-id on history.
2898 ;; We cannot use gnus-current-headers to get current 2898 ;; We cannot use gnus-current-headers to get current
2899 ;; message-id because we may be looking at parent or refered 2899 ;; message-id because we may be looking at parent or referred
2900 ;; article. 2900 ;; article.
2901 (let ((current (gnus-fetch-field "Message-ID"))) 2901 (let ((current (gnus-fetch-field "Message-ID")))
2902 (or (equal current message-id) ;Nothing to do. 2902 (or (equal current message-id) ;Nothing to do.
@@ -4872,7 +4872,7 @@ If optional argument NEXT is non-nil, it is inserted before NEXT."
4872 (let ((newsgroup (substring newsgroup 0)) ;Copy string. 4872 (let ((newsgroup (substring newsgroup 0)) ;Copy string.
4873 (len (length newsgroup)) 4873 (len (length newsgroup))
4874 (idx 0)) 4874 (idx 0))
4875 ;; Replace all occurence of `.' with `/'. 4875 ;; Replace all occurrences of `.' with `/'.
4876 (while (< idx len) 4876 (while (< idx len)
4877 (if (= (aref newsgroup idx) ?.) 4877 (if (= (aref newsgroup idx) ?.)
4878 (aset newsgroup idx ?/)) 4878 (aset newsgroup idx ?/))
@@ -5411,7 +5411,7 @@ If no message is available and optional MESSAGE is given, return it."
5411 5411
5412(defun gnus-define-access-method (method &optional access-methods) 5412(defun gnus-define-access-method (method &optional access-methods)
5413 "Define access functions for the access METHOD. 5413 "Define access functions for the access METHOD.
5414Methods defintion is taken from optional argument ACCESS-METHODS or 5414Methods definition is taken from optional argument ACCESS-METHODS or
5415the variable gnus-access-methods." 5415the variable gnus-access-methods."
5416 (let ((bindings 5416 (let ((bindings
5417 (cdr (assoc method (or access-methods gnus-access-methods))))) 5417 (cdr (assoc method (or access-methods gnus-access-methods)))))
@@ -5824,7 +5824,7 @@ If nothing is specified, use the variable gnus-overload-functions."
5824 (setq defs (car overloads)) 5824 (setq defs (car overloads))
5825 (setq overloads (cdr overloads)) 5825 (setq overloads (cdr overloads))
5826 ;; Load file before overloading function if necessary. Make 5826 ;; Load file before overloading function if necessary. Make
5827 ;; sure we cannot use `requre' always. 5827 ;; sure we cannot use `require' always.
5828 (and (not (fboundp (car defs))) 5828 (and (not (fboundp (car defs)))
5829 (car (cdr (cdr defs))) 5829 (car (cdr (cdr defs)))
5830 (load (car (cdr (cdr defs))) nil 'nomessage)) 5830 (load (car (cdr (cdr defs))) nil 'nomessage))
diff --git a/lisp/gnusmisc.el b/lisp/gnusmisc.el
index 49768dd617e..e760b4b0312 100644
--- a/lisp/gnusmisc.el
+++ b/lisp/gnusmisc.el
@@ -234,7 +234,7 @@ The killed newsgroups can be yanked by using \\[gnus-group-yank-group]."
234 234
235(defun gnus-group-yank-group () 235(defun gnus-group-yank-group ()
236 "Yank the last newsgroup killed with \\[gnus-group-kill-group], 236 "Yank the last newsgroup killed with \\[gnus-group-kill-group],
237inserting it before the newsgroup on the line containging point." 237inserting it before the newsgroup on the line containing point."
238 (interactive) 238 (interactive)
239 (gnus-group-insert-group (car gnus-killed-assoc)) 239 (gnus-group-insert-group (car gnus-killed-assoc))
240 ;; Remove killed newsgroups from the buffer if exists. 240 ;; Remove killed newsgroups from the buffer if exists.
diff --git a/lisp/gud.el b/lisp/gud.el
index dc1a5337186..411277c8061 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -131,7 +131,7 @@ we're in the GUD buffer)."
131;; The job of the marker-filter method is to detect file/line markers in 131;; The job of the marker-filter method is to detect file/line markers in
132;; strings and set the global gud-last-frame to indicate what display 132;; strings and set the global gud-last-frame to indicate what display
133;; action (if any) should be triggered by the marker. Note that only 133;; action (if any) should be triggered by the marker. Note that only
134;; whetever the method *returns* is displayed in the buffer; thus, you 134;; whatever the method *returns* is displayed in the buffer; thus, you
135;; can filter the debugger's output, interpreting some and passing on 135;; can filter the debugger's output, interpreting some and passing on
136;; the rest. 136;; the rest.
137;; 137;;
@@ -755,7 +755,7 @@ the character after the end of the expr."
755 755
756(defun expr-compound-sep (span-start span-end) 756(defun expr-compound-sep (span-start span-end)
757 "Returns '.' for '->' & '.', returns ' ' for white space, 757 "Returns '.' for '->' & '.', returns ' ' for white space,
758returns '?' for other puctuation." 758returns '?' for other punctuation."
759 (let ((result ? ) 759 (let ((result ? )
760 (syntax)) 760 (syntax))
761 (while (< span-start span-end) 761 (while (< span-start span-end)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index ee46727d5aa..46b9e0c978b 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
6 6
7;; |$Date: 1993/06/04 06:40:45 $|$Revision: 1.40 $ 7;; |$Date: 1993/06/06 22:11:22 $|$Revision: 1.41 $
8 8
9;; This file is not yet part of GNU Emacs, but it is based almost 9;; This file is not yet part of GNU Emacs, but it is based almost
10;; entirely on isearch.el which is part of GNU Emacs. 10;; entirely on isearch.el which is part of GNU Emacs.
@@ -83,7 +83,7 @@
83;; the last possible moment. 83;; the last possible moment.
84 84
85;; TODO 85;; TODO
86;; - Integrate the emacs 19 generalized commmand history. 86;; - Integrate the emacs 19 generalized command history.
87;; - Think about incorporating query-replace. 87;; - Think about incorporating query-replace.
88;; - Hooks and options for failed search. 88;; - Hooks and options for failed search.
89 89
@@ -626,7 +626,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
626 626
627;;;======================================================= 627;;;=======================================================
628;;; Switching buffers should first terminate isearch-mode. 628;;; Switching buffers should first terminate isearch-mode.
629;;; This is done quite differently for each varient of emacs. 629;;; This is done quite differently for each variant of emacs.
630;;; For lemacs, see Exiting in lemacs below 630;;; For lemacs, see Exiting in lemacs below
631 631
632;; For Emacs 19, the frame switch event is handled. 632;; For Emacs 19, the frame switch event is handled.
@@ -664,7 +664,7 @@ The following additional command keys are active while editing.
664\\[isearch-forward-exit-minibuffer] to resume isearching forward. 664\\[isearch-forward-exit-minibuffer] to resume isearching forward.
665\\[isearch-backward-exit-minibuffer] to resume isearching backward. 665\\[isearch-backward-exit-minibuffer] to resume isearching backward.
666\\[isearch-ring-advance-edit] to replace the search string with the next item in the search ring. 666\\[isearch-ring-advance-edit] to replace the search string with the next item in the search ring.
667\\[isearch-ring-retreat-edit] to replace the search string with the previou item in the search ring. 667\\[isearch-ring-retreat-edit] to replace the search string with the previous item in the search ring.
668\\[isearch-complete-edit] to complete the search string using the search ring. 668\\[isearch-complete-edit] to complete the search string using the search ring.
669 669
670If first char entered is \\[isearch-yank-word], then do word search instead." 670If first char entered is \\[isearch-yank-word], then do word search instead."
@@ -673,7 +673,7 @@ If first char entered is \\[isearch-yank-word], then do word search instead."
673 ;; Mainly, isearch-mode must be terminated while editing and then restarted. 673 ;; Mainly, isearch-mode must be terminated while editing and then restarted.
674 ;; If there were a way to catch any change of buffer from the minibuffer, 674 ;; If there were a way to catch any change of buffer from the minibuffer,
675 ;; this could be simplified greatly. 675 ;; this could be simplified greatly.
676 ;; Editing doesnt back up the search point. Should it? 676 ;; Editing doesn't back up the search point. Should it?
677 (interactive) 677 (interactive)
678 (condition-case err 678 (condition-case err
679 (let (isearch-nonincremental ; should search nonincrementally? 679 (let (isearch-nonincremental ; should search nonincrementally?
@@ -804,7 +804,7 @@ If first char entered is \\[isearch-yank-word], then do word search instead."
804Otherwise, revert to previous successful search and continue searching. 804Otherwise, revert to previous successful search and continue searching.
805Use `isearch-exit' to quit without signalling." 805Use `isearch-exit' to quit without signalling."
806 (interactive) 806 (interactive)
807;; (ding) signal instead below, if quiting 807;; (ding) signal instead below, if quitting
808 (discard-input) 808 (discard-input)
809 (if isearch-success 809 (if isearch-success
810 ;; If search is successful, move back to starting point 810 ;; If search is successful, move back to starting point
@@ -1050,7 +1050,7 @@ If you want to search for just a space, type C-q SPC."
1050 (isearch-process-search-string search-whitespace-regexp " ") 1050 (isearch-process-search-string search-whitespace-regexp " ")
1051 (isearch-printing-char)) 1051 (isearch-printing-char))
1052 (progn 1052 (progn
1053 ;; This way of doing word search doesnt correctly extend current search. 1053 ;; This way of doing word search doesn't correctly extend current search.
1054 ;; (setq isearch-word t) 1054 ;; (setq isearch-word t)
1055 ;; (setq isearch-adjusted t) 1055 ;; (setq isearch-adjusted t)
1056 ;; (goto-char isearch-barrier) 1056 ;; (goto-char isearch-barrier)
diff --git a/lisp/kermit.el b/lisp/kermit.el
index 9387c098372..fd3cc099399 100644
--- a/lisp/kermit.el
+++ b/lisp/kermit.el
@@ -37,7 +37,7 @@
37;; system you connect to. A more serious problem is that some brain-dead 37;; system you connect to. A more serious problem is that some brain-dead
38;; systems will not recognize a ^J as an end-of-line character. So LFD is 38;; systems will not recognize a ^J as an end-of-line character. So LFD is
39;; bound to a new function which acts just like CR usually does in shell-mode, 39;; bound to a new function which acts just like CR usually does in shell-mode,
40;; but a ^M is sent as an end-of-line. Funcions are also provied to swap the 40;; but a ^M is sent as an end-of-line. Functions are also provided to swap the
41;; bindings of CR and LFD. I've also included a filter which will clean out 41;; bindings of CR and LFD. I've also included a filter which will clean out
42;; any ^M's or ^@'s that get typed at you, but I don't really recommend it. 42;; any ^M's or ^@'s that get typed at you, but I don't really recommend it.
43;; There doesn't seem to be an acceptably fast way to do this via emacs-lisp. 43;; There doesn't seem to be an acceptably fast way to do this via emacs-lisp.
@@ -48,7 +48,7 @@
48;; thru a fairly stupid terminal switch. If I want to connect to unix system, 48;; thru a fairly stupid terminal switch. If I want to connect to unix system,
49;; then I use the LFD key to talk to the switch, and ignore any ^M's in the 49;; then I use the LFD key to talk to the switch, and ignore any ^M's in the
50;; buffer, and do a " stty -echo nl " after I log in. Then the only real 50;; buffer, and do a " stty -echo nl " after I log in. Then the only real
51;; differnce from being in local shell-mode is that it is you need to to type 51;; difference from being in local shell-mode is that you need to type
52;; ^C^Q^C to send an interrupt, and ^C^Q^Z for a stop signal, etc. (since ^C^C 52;; ^C^Q^C to send an interrupt, and ^C^Q^Z for a stop signal, etc. (since ^C^C
53;; just generates a local stop signal, which kermit ignores). 53;; just generates a local stop signal, which kermit ignores).
54;; To connect to a VMS system, I use a shell script to invoke kermit thru the 54;; To connect to a VMS system, I use a shell script to invoke kermit thru the
@@ -66,7 +66,7 @@
66;; in order to do a file transfer, you have to think ahead and and add -r 66;; in order to do a file transfer, you have to think ahead and and add -r
67;; (receive) to the command line. This means that you can't use the server 67;; (receive) to the command line. This means that you can't use the server
68;; feature. The only fix I can see is to muck around with the source code for 68;; feature. The only fix I can see is to muck around with the source code for
69;; kermit, although this problably wouldn't be too hard. What is needed is an 69;; kermit, although this probably wouldn't be too hard. What is needed is an
70;; option to force kermit to be local, to use stdin and stdout for interactive 70;; option to force kermit to be local, to use stdin and stdout for interactive
71;; speech, and to forget about cbreak mode. 71;; speech, and to forget about cbreak mode.
72 72
diff --git a/lisp/macros.el b/lisp/macros.el
index 43b5b2ae945..b1da9eb1162 100644
--- a/lisp/macros.el
+++ b/lisp/macros.el
@@ -158,7 +158,7 @@ Your options are: \\<query-replace-map>
158 (with-output-to-temp-buffer "*Help*" 158 (with-output-to-temp-buffer "*Help*"
159 (princ 159 (princ
160 (substitute-command-keys 160 (substitute-command-keys
161 "Specify how to procede with keyboard macro execution. 161 "Specify how to proceed with keyboard macro execution.
162Possibilities: \\<query-replace-map> 162Possibilities: \\<query-replace-map>
163\\[act] Finish this iteration normally and continue with the next. 163\\[act] Finish this iteration normally and continue with the next.
164\\[skip] Skip the rest of this iteration, and start the next. 164\\[skip] Skip the rest of this iteration, and start the next.
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el
index e5efae3eb16..3ac665259a9 100644
--- a/lisp/mail/mailabbrev.el
+++ b/lisp/mail/mailabbrev.el
@@ -92,7 +92,7 @@
92;;; fred, ethyl, larry, curly, moe 92;;; fred, ethyl, larry, curly, moe
93;;; 93;;;
94;;; Aliases may also contain forward references; the alias of "everybody" can 94;;; Aliases may also contain forward references; the alias of "everybody" can
95;;; preceed the aliases of "group1" and "group2". 95;;; precede the aliases of "group1" and "group2".
96;;; 96;;;
97;;; This code also understands the "source" .mailrc command, for reading 97;;; This code also understands the "source" .mailrc command, for reading
98;;; aliases from some other file as well. 98;;; aliases from some other file as well.
@@ -362,7 +362,7 @@ turned on.")
362 362
363(defvar mail-mode-header-syntax-table 363(defvar mail-mode-header-syntax-table
364 (let ((tab (copy-syntax-table text-mode-syntax-table))) 364 (let ((tab (copy-syntax-table text-mode-syntax-table)))
365 ;; This makes the characters "@%!._-" be considered symbol-consituents 365 ;; This makes the characters "@%!._-" be considered symbol-constituents
366 ;; but not word-constituents, so forward-sexp will move you over an 366 ;; but not word-constituents, so forward-sexp will move you over an
367 ;; entire address, but forward-word will only move you over a sequence 367 ;; entire address, but forward-word will only move you over a sequence
368 ;; of alphanumerics. (Clearly the right thing.) 368 ;; of alphanumerics. (Clearly the right thing.)
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 2af0a5a7bd0..5799b718fdc 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -234,7 +234,7 @@ that file, but does not copy any new mail into the file."
234 ;; Show the first unseen message, which might be from a previous session 234 ;; Show the first unseen message, which might be from a previous session
235 ;; or might have been just read in by rmail-get-new-mail. Must 235 ;; or might have been just read in by rmail-get-new-mail. Must
236 ;; determine already unseen messages first, as rmail-get-new-mail 236 ;; determine already unseen messages first, as rmail-get-new-mail
237 ;; positions on the first new messsage, thus marking it as seen. 237 ;; positions on the first new message, thus marking it as seen.
238 (rmail-show-message existing-unseen)))) 238 (rmail-show-message existing-unseen))))
239 239
240;; Given the value of MAILPATH, return a list of inbox file names. 240;; Given the value of MAILPATH, return a list of inbox file names.
diff --git a/lisp/man.el b/lisp/man.el
index db6a973c41d..74d42208995 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -51,7 +51,7 @@
51;; Eric Rose <erose@jessica.stanford.edu>, submitted manual.el which 51;; Eric Rose <erose@jessica.stanford.edu>, submitted manual.el which
52;; provided a very nice manual browsing mode. 52;; provided a very nice manual browsing mode.
53 53
54;; This package was available as `superman.el' from the LCD paackage 54;; This package was available as `superman.el' from the LCD package
55;; for some time before it was accepted into Emacs 19. The entry 55;; for some time before it was accepted into Emacs 19. The entry
56;; point and some other names have been changed to make it a drop-in 56;; point and some other names have been changed to make it a drop-in
57;; replacement for the old man.el package. 57;; replacement for the old man.el package.
@@ -126,7 +126,7 @@ in all sections.")
126 "*Association list of bogus sections to real section numbers. 126 "*Association list of bogus sections to real section numbers.
127Some manpages (e.g. the Sun C++ 2.1 manpages) have section numbers in 127Some manpages (e.g. the Sun C++ 2.1 manpages) have section numbers in
128their references which Un*x man(1) does not recognize. This 128their references which Un*x man(1) does not recognize. This
129assocation list is used to translate those sections, when found, to 129association list is used to translate those sections, when found, to
130the associated section number.") 130the associated section number.")
131 131
132(defvar Man-filter-list 132(defvar Man-filter-list
diff --git a/lisp/mh-e.el b/lisp/mh-e.el
index 9a7b3b9e228..d52fbcb31bf 100644
--- a/lisp/mh-e.el
+++ b/lisp/mh-e.el
@@ -48,7 +48,7 @@
48;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. 48;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985.
49;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu 49;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu
50;;; Modified by Stephen Gildea 1988. gildea@bbn.com 50;;; Modified by Stephen Gildea 1988. gildea@bbn.com
51(defconst mh-e-RCS-id "$Header: /home/fsf/rms/e19/lisp/RCS/mh-e.el,v 1.10 1993/05/30 22:56:31 rms Exp rms $") 51(defconst mh-e-RCS-id "$Header: /home/gd/gnu/emacs/19.0/lisp/RCS/mh-e.el,v 1.11 1993/06/05 02:51:21 rms Exp jimb $")
52 52
53;;; Code: 53;;; Code:
54 54
@@ -195,7 +195,7 @@ Inserted into message by \\<mh-letter-mode-map>\\[mh-insert-signature].")
195 "String whose first character is used to notate redistributed messages.") 195 "String whose first character is used to notate redistributed messages.")
196 196
197(defvar mh-good-msg-regexp "^....[^D^]" 197(defvar mh-good-msg-regexp "^....[^D^]"
198 "Regexp specifiying the scan lines that are 'good' messages.") 198 "Regexp specifying the scan lines that are 'good' messages.")
199 199
200(defvar mh-deleted-msg-regexp "^....D" 200(defvar mh-deleted-msg-regexp "^....D"
201 "Regexp matching scan lines of deleted messages.") 201 "Regexp matching scan lines of deleted messages.")
@@ -1446,7 +1446,7 @@ Assumes mh-e has already been initialized."
1446;;; The folder data abstraction. 1446;;; The folder data abstraction.
1447 1447
1448(defvar mh-current-folder nil "Name of current folder, a string.") 1448(defvar mh-current-folder nil "Name of current folder, a string.")
1449(defvar mh-show-buffer nil "Buffer that displays mesage for this folder.") 1449(defvar mh-show-buffer nil "Buffer that displays message for this folder.")
1450(defvar mh-folder-filename nil "Full path of directory for this folder.") 1450(defvar mh-folder-filename nil "Full path of directory for this folder.")
1451(defvar mh-showing nil "If non-nil, show the message in a separate window.") 1451(defvar mh-showing nil "If non-nil, show the message in a separate window.")
1452(defvar mh-next-seq-num nil "Index of free sequence id.") 1452(defvar mh-next-seq-num nil "Index of free sequence id.")
diff --git a/lisp/mhspool.el b/lisp/mhspool.el
index 900d8eb0c99..b81823938f0 100644
--- a/lisp/mhspool.el
+++ b/lisp/mhspool.el
@@ -49,7 +49,7 @@ mhspool-list-folders-using-ls and mhspool-list-folders-using-sh are
49provided now. I suppose the later is faster.") 49provided now. I suppose the later is faster.")
50 50
51(defvar mhspool-list-directory-switches '("-R") 51(defvar mhspool-list-directory-switches '("-R")
52 "*Switches for mhspool-list-folders-using-ls to pass to `ls' for gettting file lists. 52 "*Switches for mhspool-list-folders-using-ls to pass to `ls' for getting file lists.
53One entry should appear on one line. You may need to add `-1' option.") 53One entry should appear on one line. You may need to add `-1' option.")
54 54
55 55
@@ -438,7 +438,7 @@ in the current news group."
438 (let ((string (substring string 0)) ;Copy string. 438 (let ((string (substring string 0)) ;Copy string.
439 (len (length string)) 439 (len (length string))
440 (idx 0)) 440 (idx 0))
441 ;; Replace all occurence of FROM with TO. 441 ;; Replace all occurrences of FROM with TO.
442 (while (< idx len) 442 (while (< idx len)
443 (if (= (aref string idx) from) 443 (if (= (aref string idx) from)
444 (aset string idx to)) 444 (aset string idx to))
diff --git a/lisp/mim-mode.el b/lisp/mim-mode.el
index 1fb62e2f24d..3ec6b325983 100644
--- a/lisp/mim-mode.el
+++ b/lisp/mim-mode.el
@@ -95,7 +95,7 @@ are bound.")
95<FOO ...> will be indented n spaces from start of form. 95<FOO ...> will be indented n spaces from start of form.
96\(put 'FOO 'indent-mim-function 'DEFINE\) is like above but means use 96\(put 'FOO 'indent-mim-function 'DEFINE\) is like above but means use
97value of mim-body-indent as offset from start of form. 97value of mim-body-indent as offset from start of form.
98\(put 'FOO 'indent-mim-function <cons>\) where <cons> is a list or pointted list 98\(put 'FOO 'indent-mim-function <cons>\) where <cons> is a list or pointed list
99of integers, means indent each form in <FOO ...> by the amount specified 99of integers, means indent each form in <FOO ...> by the amount specified
100in <cons>. When <cons> is exhausted, indent remaining forms by 100in <cons>. When <cons> is exhausted, indent remaining forms by
101`mim-body-indent' unless <cons> is a pointed list, in which case the last 101`mim-body-indent' unless <cons> is a pointed list, in which case the last
@@ -250,7 +250,7 @@ Entry to this mode calls the value of mim-mode-hook if non-nil."
250 "Move forward across Mim object. 250 "Move forward across Mim object.
251With ARG, move forward that many objects." 251With ARG, move forward that many objects."
252 (interactive "p") 252 (interactive "p")
253 ;; this function is wierd because it emulates the behavior of the old 253 ;; this function is weird because it emulates the behavior of the old
254 ;; (gosling) mim-mode - if the arg is 1 and we are `inside' an ADECL, 254 ;; (gosling) mim-mode - if the arg is 1 and we are `inside' an ADECL,
255 ;; more than one character into the ATOM part and not sitting on the 255 ;; more than one character into the ATOM part and not sitting on the
256 ;; colon, then we move to the DECL part (just past colon) instead of 256 ;; colon, then we move to the DECL part (just past colon) instead of
@@ -333,7 +333,7 @@ A negative ARG will raise current line and previous lines."
333 "Move down a level of Mim structure forwards. 333 "Move down a level of Mim structure forwards.
334With ARG, move down that many levels forwards (backwards, ARG < 0)." 334With ARG, move down that many levels forwards (backwards, ARG < 0)."
335 (interactive "p") 335 (interactive "p")
336 ;; another wierdo - going down `inside' an ADECL or ATOM trailer 336 ;; another weirdo - going down `inside' an ADECL or ATOM trailer
337 ;; depends on the value of mim-down-parens-only. if nil, treat 337 ;; depends on the value of mim-down-parens-only. if nil, treat
338 ;; ADECLs and trailers as structured objects. 338 ;; ADECLs and trailers as structured objects.
339 (let ((direction (sign (or arg (setq arg 1))))) 339 (let ((direction (sign (or arg (setq arg 1)))))
@@ -636,7 +636,7 @@ is reached."
636 (+ method start)) 636 (+ method start))
637 (goto-char current-indent) 637 (goto-char current-indent)
638 (if (consp method) 638 (if (consp method)
639 ;; list or pointted list of explicit indentations 639 ;; list or pointed list of explicit indentations
640 (indent-mim-offset state indent-point) 640 (indent-mim-offset state indent-point)
641 (if (and (symbolp method) (fboundp method)) 641 (if (and (symbolp method) (fboundp method))
642 ;; luser function - s/he better know what's going on. 642 ;; luser function - s/he better know what's going on.
@@ -659,7 +659,7 @@ is reached."
659 (last-sexp (car (nthcdr 2 state))) 659 (last-sexp (car (nthcdr 2 state)))
660 indentation) 660 indentation)
661 (goto-char (1+ containing-sexp)) 661 (goto-char (1+ containing-sexp))
662 ;; determine wheich of the indentations to use. 662 ;; determine which of the indentations to use.
663 (while (and (< (point) indent-point) 663 (while (and (< (point) indent-point)
664 (condition-case nil 664 (condition-case nil
665 (progn (forward-sexp 1) 665 (progn (forward-sexp 1)
diff --git a/lisp/nnspool.el b/lisp/nnspool.el
index 6235aff7dba..72cc48bbb5a 100644
--- a/lisp/nnspool.el
+++ b/lisp/nnspool.el
@@ -356,7 +356,7 @@ in the current news group."
356 (setq nntp-server-process nil)) 356 (setq nntp-server-process nil))
357 357
358(defun nnspool-find-article-by-message-id (id) 358(defun nnspool-find-article-by-message-id (id)
359 "Return full pathname of an artilce identified by message-ID." 359 "Return full pathname of an article identified by message-ID."
360 (save-excursion 360 (save-excursion
361 (let ((buffer (get-file-buffer nnspool-history-file))) 361 (let ((buffer (get-file-buffer nnspool-history-file)))
362 (if buffer 362 (if buffer
@@ -396,7 +396,7 @@ in the current news group."
396 (let ((string (substring string 0)) ;Copy string. 396 (let ((string (substring string 0)) ;Copy string.
397 (len (length string)) 397 (len (length string))
398 (idx 0)) 398 (idx 0))
399 ;; Replace all occurence of FROM with TO. 399 ;; Replace all occurrences of FROM with TO.
400 (while (< idx len) 400 (while (< idx len)
401 (if (= (aref string idx) from) 401 (if (= (aref string idx) from)
402 (aset string idx to)) 402 (aset string idx to))
diff --git a/lisp/nntp.el b/lisp/nntp.el
index d14a91a64b7..c745c24f8c7 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -608,7 +608,7 @@ in the current news group."
608 "Send list of STRINGS to news server as command and its arguments." 608 "Send list of STRINGS to news server as command and its arguments."
609 (let ((cmd (car strings)) 609 (let ((cmd (car strings))
610 (strings (cdr strings))) 610 (strings (cdr strings)))
611 ;; Command and each argument must be separeted by one or more spaces. 611 ;; Command and each argument must be separated by one or more spaces.
612 (while strings 612 (while strings
613 (setq cmd (concat cmd " " (car strings))) 613 (setq cmd (concat cmd " " (car strings)))
614 (setq strings (cdr strings))) 614 (setq strings (cdr strings)))
diff --git a/lisp/play/blackbox.el b/lisp/play/blackbox.el
index 2034b7d7972..ba6600cc581 100644
--- a/lisp/play/blackbox.el
+++ b/lisp/play/blackbox.el
@@ -84,7 +84,7 @@
84 (define-key blackbox-mode-map "\C-m" 'bb-done) 84 (define-key blackbox-mode-map "\C-m" 'bb-done)
85 (define-key blackbox-mode-map [kp-enter] 'bb-done) 85 (define-key blackbox-mode-map [kp-enter] 'bb-done)
86 86
87 ;; This is a kluge. What we really want is a general 87 ;; This is a kludge. What we really want is a general
88 ;; feature for reminding terminal keys to the functions 88 ;; feature for reminding terminal keys to the functions
89 ;; corresponding to them in local maps. 89 ;; corresponding to them in local maps.
90 (mapcar (function 90 (mapcar (function
diff --git a/lisp/play/dissociate.el b/lisp/play/dissociate.el
index ebf6b637a8d..494d83b3b58 100644
--- a/lisp/play/dissociate.el
+++ b/lisp/play/dissociate.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26;; The single entry point, `dissociatesd-press', applies a travesty 26;; The single entry point, `dissociated-press', applies a travesty
27;; generator to the current buffer. The results can be quite amusing. 27;; generator to the current buffer. The results can be quite amusing.
28 28
29;;; Code: 29;;; Code:
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el
index 702f053b25e..4bb60d51e76 100644
--- a/lisp/play/doctor.el
+++ b/lisp/play/doctor.el
@@ -349,7 +349,7 @@ reads the sentence before point, and prints the Doctor's answer."
349 (setq deathlst 349 (setq deathlst
350 '((this is not a healthy way of thinking \.) 350 '((this is not a healthy way of thinking \.)
351 (($ bother) you\, too\, may die someday \?) 351 (($ bother) you\, too\, may die someday \?)
352 (i am worried by your obssession with this topic!) 352 (i am worried by your obsession with this topic!)
353 (did you watch a lot of crime and violence on television as a child \?)) 353 (did you watch a lot of crime and violence on television as a child \?))
354 ) 354 )
355 (make-local-variable 'sexlst) 355 (make-local-variable 'sexlst)
@@ -797,7 +797,7 @@ reads the sentence before point, and prints the Doctor's answer."
797(doctor-put-meaning elisa 'eliza) 797(doctor-put-meaning elisa 'eliza)
798(doctor-put-meaning weizenbaum 'eliza) 798(doctor-put-meaning weizenbaum 'eliza)
799(doctor-put-meaning doktor 'eliza) 799(doctor-put-meaning doktor 'eliza)
800(doctor-put-meaning atheletics 'sports) 800(doctor-put-meaning athletics 'sports)
801(doctor-put-meaning baseball 'sports) 801(doctor-put-meaning baseball 'sports)
802(doctor-put-meaning basketball 'sports) 802(doctor-put-meaning basketball 'sports)
803(doctor-put-meaning football 'sports) 803(doctor-put-meaning football 'sports)
@@ -951,7 +951,7 @@ Otherwise call the Doctor to parse preceding sentence."
951 sent)))) 951 sent))))
952 952
953(defun doctor-shorten (sent) 953(defun doctor-shorten (sent)
954 "Make a sentence managably short using a few hacks." 954 "Make a sentence manageably short using a few hacks."
955 (let (foo 955 (let (foo
956 retval 956 retval
957 (temp '(because but however besides anyway until 957 (temp '(because but however besides anyway until
@@ -1062,7 +1062,7 @@ the subject noun, and return the portion of the sentence following it."
1062 applied applies apply are associate 1062 applied applies apply are associate
1063 associated ate 1063 associated ate
1064 be became become becomes becoming 1064 be became become becomes becoming
1065 been being believe belived believes 1065 been being believe believed believes
1066 bit bite bites bore bored bores boring bought buy buys buying 1066 bit bite bites bore bored bores boring bought buy buys buying
1067 call called calling calls came can caught catch come 1067 call called calling calls came can caught catch come
1068 contract contracted contracts control controlled controls 1068 contract contracted contracts control controlled controls
@@ -1072,7 +1072,7 @@ the subject noun, and return the portion of the sentence following it."
1072 dislikes do does drank drink drinks drinking 1072 dislikes do does drank drink drinks drinking
1073 drive drives driving drove dying 1073 drive drives driving drove dying
1074 eat eating eats expand expanded expands 1074 eat eating eats expand expanded expands
1075 expect expected expects expel expels expeled expelled 1075 expect expected expects expel expels expelled
1076 explain explained explains 1076 explain explained explains
1077 fart farts feel feels felt fight fights find finds finding 1077 fart farts feel feels felt fight fights find finds finding
1078 forget forgets forgot fought found fuck fucked 1078 forget forgets forgot fought found fuck fucked
@@ -1111,7 +1111,7 @@ the subject noun, and return the portion of the sentence following it."
1111 take takes taking talk talked talking talks tell tells telling 1111 take takes taking talk talked talking talks tell tells telling
1112 think thinks 1112 think thinks
1113 thought told took tooled touch touched touches touching 1113 thought told took tooled touch touched touches touching
1114 transfer transfered transfers transmit transmits transmitted 1114 transfer transferred transfers transmit transmits transmitted
1115 type types types typing 1115 type types types typing
1116 walk walked walking walks want wanted wants was watch 1116 walk walked walking walks want wanted wants was watch
1117 watched watching went were will wish would work worked works 1117 watched watching went were will wish would work worked works
@@ -1196,7 +1196,7 @@ the subject noun, and return the portion of the sentence following it."
1196 hundred thousand million billion 1196 hundred thousand million billion
1197 half quarter 1197 half quarter
1198 first second third fourth fifth 1198 first second third fourth fifth
1199 sixth seventh eighth nineth tenth))) 1199 sixth seventh eighth ninth tenth)))
1200 1200
1201(defun doctor-colorp (x) 1201(defun doctor-colorp (x)
1202 (memq x '(beige black blue brown crimson 1202 (memq x '(beige black blue brown crimson
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el
index 99e2acdd92a..3ec67092901 100644
--- a/lisp/play/hanoi.el
+++ b/lisp/play/hanoi.el
@@ -76,7 +76,7 @@
76 ;; If we have NRINGS rings, we label them with the numbers 0 76 ;; If we have NRINGS rings, we label them with the numbers 0
77 ;; through NRINGS-1. The width of ring i is 2i+3; it pokes 77 ;; through NRINGS-1. The width of ring i is 2i+3; it pokes
78 ;; out i spaces on either side of the pole. Rather than 78 ;; out i spaces on either side of the pole. Rather than
79 ;; checking if the window is wide enough to accomodate this, 79 ;; checking if the window is wide enough to accommodate this,
80 ;; we make sure pole-spacing is large enough, since that 80 ;; we make sure pole-spacing is large enough, since that
81 ;; works even when we have decremented pole-spacing to make 81 ;; works even when we have decremented pole-spacing to make
82 ;; it even. 82 ;; it even.
diff --git a/lisp/play/life.el b/lisp/play/life.el
index 84dca781fa0..50e76e69cac 100644
--- a/lisp/play/life.el
+++ b/lisp/play/life.el
@@ -25,7 +25,7 @@
25 25
26;; A demonstrator for John Horton Conway's "Life" cellular automaton 26;; A demonstrator for John Horton Conway's "Life" cellular automaton
27;; in Emacs Lisp. Picks a random one of a set of interesting Life 27;; in Emacs Lisp. Picks a random one of a set of interesting Life
28;; patterns and avolves it according to the familiar rules. 28;; patterns and evolves it according to the familiar rules.
29 29
30;;; Code: 30;;; Code:
31 31
@@ -75,7 +75,7 @@
75(defmacro life-not-void-regexp () (concat "[^" (life-void-string) "\n]")) 75(defmacro life-not-void-regexp () (concat "[^" (life-void-string) "\n]"))
76 76
77;; try to optimize the (goto-char (point-min)) & (goto-char (point-max)) 77;; try to optimize the (goto-char (point-min)) & (goto-char (point-max))
78;; idioms. This depends on goto-char's not griping if we underrshoot 78;; idioms. This depends on goto-char's not griping if we undershoot
79;; or overshoot beginning or end of buffer. 79;; or overshoot beginning or end of buffer.
80(defmacro goto-beginning-of-buffer () '(goto-char 1)) 80(defmacro goto-beginning-of-buffer () '(goto-char 1))
81(defmacro maxint () (lsh (lsh (lognot 0) 1) -1)) 81(defmacro maxint () (lsh (lsh (lognot 0) 1) -1))
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el
index a3962c696ef..2738a7c7665 100644
--- a/lisp/play/mpuz.el
+++ b/lisp/play/mpuz.el
@@ -149,7 +149,7 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]."
149 (aset mpuz-letter-to-digit elem index)))) 149 (aset mpuz-letter-to-digit elem index))))
150 150
151 151
152;; A puzzle also uses a board displaying a mulplication. 152;; A puzzle also uses a board displaying a multiplication.
153;; Every digit appears in the board, crypted or not. 153;; Every digit appears in the board, crypted or not.
154;;------------------------------------------------------ 154;;------------------------------------------------------
155(defvar mpuz-board (make-vector 10 nil) 155(defvar mpuz-board (make-vector 10 nil)
@@ -310,7 +310,7 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]."
310;; Game control 310;; Game control
311;;------------- 311;;-------------
312(defun mpuz-abort-game () 312(defun mpuz-abort-game ()
313 "Abort any puzzle in progess." 313 "Abort any puzzle in progress."
314 (message "Mult Puzzle aborted.") 314 (message "Mult Puzzle aborted.")
315 (setq mpuz-in-progress nil 315 (setq mpuz-in-progress nil
316 mpuz-nb-errors 0) 316 mpuz-nb-errors 0)
diff --git a/lisp/play/yow.el b/lisp/play/yow.el
index f056ec5c6bf..fd90d3677f1 100644
--- a/lisp/play/yow.el
+++ b/lisp/play/yow.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26;; Important pinheaddery for GNU Emacs. 26;; Important pinheadery for GNU Emacs.
27;; 27;;
28;; See cookie1.el for implementation. Note --- the `n' argument of yow 28;; See cookie1.el for implementation. Note --- the `n' argument of yow
29;; from the 18.xx implementation is no longer; we only support *random* 29;; from the 18.xx implementation is no longer; we only support *random*
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el
index ec4b2c646ab..8c32229a299 100644
--- a/lisp/progmodes/c-mode.el
+++ b/lisp/progmodes/c-mode.el
@@ -880,7 +880,7 @@ Otherwise return nil and don't move point."
880(defun c-beginning-of-statement (count) 880(defun c-beginning-of-statement (count)
881 "Go to the beginning of the innermost C statement. 881 "Go to the beginning of the innermost C statement.
882With prefix arg, go back N - 1 statements. If already at the beginning of a 882With prefix arg, go back N - 1 statements. If already at the beginning of a
883statement then go to the beginning of the preceeding one. 883statement then go to the beginning of the preceding one.
884If within a string or comment, or next to a comment (only whitespace between), 884If within a string or comment, or next to a comment (only whitespace between),
885move by sentences instead of statements." 885move by sentences instead of statements."
886 (interactive "p") 886 (interactive "p")
diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el
index 5689183a56a..8548c3826e5 100644
--- a/lisp/progmodes/cplus-md.el
+++ b/lisp/progmodes/cplus-md.el
@@ -785,7 +785,7 @@ The fill lines remain a comment."
785;; (defconst c++-defun-header-strong 785;; (defconst c++-defun-header-strong
786;; (let* 786;; (let*
787;; (; valid identifiers 787;; (; valid identifiers
788;; ;; There's a real wierdness here -- if I switch the below 788;; ;; There's a real weirdness here -- if I switch the below
789;; (id "\\(\\w\\|_\\)+") 789;; (id "\\(\\w\\|_\\)+")
790;; ;; to be 790;; ;; to be
791;; ;; (id "\\(_\\|\\w\\)+") 791;; ;; (id "\\(_\\|\\w\\)+")
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 9b9b6bf2755..70dcd9a557d 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -141,7 +141,7 @@ One argument, the tag info returned by `snarf-tag-function'.")
141(defvar tags-included-tables-function nil 141(defvar tags-included-tables-function nil
142 "Function to do the work of `tags-included-tables' (which see).") 142 "Function to do the work of `tags-included-tables' (which see).")
143(defvar verify-tags-table-function nil 143(defvar verify-tags-table-function nil
144 "Function to return t iff the current buffer vontains a valid 144 "Function to return t iff the current buffer contains a valid
145\(already initialized\) tags file.") 145\(already initialized\) tags file.")
146 146
147;; Initialize the tags table in the current buffer. 147;; Initialize the tags table in the current buffer.
@@ -636,7 +636,7 @@ See documentation of variable `tags-file-name'."
636 ;; Move to the saved location. 636 ;; Move to the saved location.
637 (set-buffer (marker-buffer marker)) 637 (set-buffer (marker-buffer marker))
638 (goto-char (marker-position marker)) 638 (goto-char (marker-position marker))
639 ;; Kill that marker so it doesn't slow down editting. 639 ;; Kill that marker so it doesn't slow down editing.
640 (set-marker marker nil nil) 640 (set-marker marker nil nil)
641 ;; Run the user's hook. Do we really want to do this for pop? 641 ;; Run the user's hook. Do we really want to do this for pop?
642 (run-hooks 'local-find-tag-hook)))) 642 (run-hooks 'local-find-tag-hook))))
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 10e8c3f405c..2f90cea6e34 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -27,7 +27,7 @@
27 27
28;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood 28;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood
29;; (saw@cebaf.gov). It now will use either fixed format continuation line 29;; (saw@cebaf.gov). It now will use either fixed format continuation line
30;; markers (character in 6th column), or tab format coninuation line style 30;; markers (character in 6th column), or tab format continuation line style
31;; (digit after a TAB character.) A auto-fill mode has been added to 31;; (digit after a TAB character.) A auto-fill mode has been added to
32;; automatically wrap fortran lines that get too long. 32;; automatically wrap fortran lines that get too long.
33 33
@@ -37,7 +37,7 @@
37;; Gary Sabot and Richard Stallman. 37;; Gary Sabot and Richard Stallman.
38 38
39;;; This file may be used with GNU Emacs version 18.xx if the following 39;;; This file may be used with GNU Emacs version 18.xx if the following
40;;; variable and function substutions are made. 40;;; variable and function substitutions are made.
41;;; Replace: 41;;; Replace:
42;;; frame-width with screen-width 42;;; frame-width with screen-width
43;;; auto-fill-function with auto-fill-hook 43;;; auto-fill-function with auto-fill-hook
@@ -159,7 +159,7 @@ This variable used in TAB-format mode.")
159 style.") 159 style.")
160 160
161(defvar fortran-break-before-delimiters t 161(defvar fortran-break-before-delimiters t
162 "*Non-nil causes `fortran-do-auto-fill' to break lines before delimeters.") 162 "*Non-nil causes `fortran-do-auto-fill' to break lines before delimiters.")
163 163
164(if fortran-mode-syntax-table 164(if fortran-mode-syntax-table
165 () 165 ()
@@ -336,7 +336,7 @@ Variables controlling indentation style and extra features:
336 Non-nil causes line number digits to be moved to the correct column 336 Non-nil causes line number digits to be moved to the correct column
337 as typed. (default t) 337 as typed. (default t)
338 fortran-break-before-delimiters 338 fortran-break-before-delimiters
339 Non-nil causes `fortran-do-auto-fill' breaks lines before delimeters. 339 Non-nil causes `fortran-do-auto-fill' breaks lines before delimiters.
340 (default t) 340 (default t)
341 fortran-startup-message 341 fortran-startup-message
342 Set to nil to inhibit message first time Fortran mode is used. 342 Set to nil to inhibit message first time Fortran mode is used.
@@ -1117,7 +1117,7 @@ automatically breaks the line at a previous space."
1117 ;; decide where to split the line. If a position for a quoted 1117 ;; decide where to split the line. If a position for a quoted
1118 ;; string was found above then use that, else break the line 1118 ;; string was found above then use that, else break the line
1119 ;; before the last delimiter. 1119 ;; before the last delimiter.
1120 ;; Delimeters are whitespace, commas, and operators. 1120 ;; Delimiters are whitespace, commas, and operators.
1121 ;; Will break before a pair of *'s. 1121 ;; Will break before a pair of *'s.
1122 ;; 1122 ;;
1123 (fill-point 1123 (fill-point
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index b408431e45f..6394de36f71 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -568,7 +568,7 @@ NOT including one on this line."
568 ((hif-looking-at-endif) 568 ((hif-looking-at-endif)
569 'done) 569 'done)
570 (t 570 (t
571 (error "Missmatched #ifdef #endif pair")))) 571 (error "Mismatched #ifdef #endif pair"))))
572 572
573 573
574(defun hif-endif-to-ifdef () 574(defun hif-endif-to-ifdef ()
@@ -577,7 +577,7 @@ NOT including one on this line."
577 (let ((start (point))) 577 (let ((start (point)))
578 (hif-find-previous-relevant) 578 (hif-find-previous-relevant)
579 (if (= start (point)) 579 (if (= start (point))
580 (error "Missmatched #ifdef #endif pair"))) 580 (error "Mismatched #ifdef #endif pair")))
581 (cond ((hif-looking-at-endif) 581 (cond ((hif-looking-at-endif)
582 (hif-endif-to-ifdef) ; find beginning of nested if 582 (hif-endif-to-ifdef) ; find beginning of nested if
583 (hif-endif-to-ifdef)) ; find beginning of outer if or else 583 (hif-endif-to-ifdef)) ; find beginning of outer if or else
@@ -938,7 +938,7 @@ Turn off hiding by calling `show-ifdef'."
938 938
939 939
940(defun hif-find-ifdef-block () 940(defun hif-find-ifdef-block ()
941 "Utilitiy for hide and show `ifdef-block'. 941 "Utility for hide and show `ifdef-block'.
942Set top and bottom of ifdef block." 942Set top and bottom of ifdef block."
943 (let (max-bottom) 943 (let (max-bottom)
944 (save-excursion 944 (save-excursion
@@ -997,7 +997,7 @@ Set top and bottom of ifdef block."
997 (if old-read-only (toggle-read-only)))) 997 (if old-read-only (toggle-read-only))))
998 998
999 999
1000;;; defininition alist support 1000;;; definition alist support
1001 1001
1002(defvar hide-ifdef-define-alist nil 1002(defvar hide-ifdef-define-alist nil
1003 "A global assoc list of pre-defined symbol lists") 1003 "A global assoc list of pre-defined symbol lists")
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index b5f44647979..3404d15295f 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -650,7 +650,7 @@ one process, this will do the right thing. If you run multiple
650processes, you can change inferior-lisp-buffer to another process 650processes, you can change inferior-lisp-buffer to another process
651buffer with \\[set-variable]. 651buffer with \\[set-variable].
652 652
653More sophisticated approaches are, of course, possible. If you find youself 653More sophisticated approaches are, of course, possible. If you find yourself
654needing to switch back and forth between multiple processes frequently, 654needing to switch back and forth between multiple processes frequently,
655you may wish to consider ilisp.el, a larger, more sophisticated package 655you may wish to consider ilisp.el, a larger, more sophisticated package
656for running inferior Lisp processes. The approach taken here is for a 656for running inferior Lisp processes. The approach taken here is for a
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index d01ee7c0b61..52b08f2c99f 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -18,7 +18,7 @@
18 18
19;; So, for the meantime, this is not the default mode for makefiles. 19;; So, for the meantime, this is not the default mode for makefiles.
20 20
21;; $Id: makefile.el,v 1.7 1993/04/21 03:47:05 eric Exp rms $ 21;; $Id: makefile.el,v 1.8 1993/05/06 01:30:26 rms Exp jimb $
22 22
23;; This file is part of GNU Emacs. 23;; This file is part of GNU Emacs.
24 24
@@ -71,7 +71,7 @@
71(provide 'makefile) 71(provide 'makefile)
72 72
73;;; ------------------------------------------------------------ 73;;; ------------------------------------------------------------
74;;; Configureable stuff 74;;; Configurable stuff
75;;; ------------------------------------------------------------ 75;;; ------------------------------------------------------------
76 76
77(defconst makefile-mode-name "makefile" 77(defconst makefile-mode-name "makefile"
@@ -97,7 +97,7 @@ might prefer to use \" += \" or \" := \" .")
97 "Controls the style of generated macro references. 97 "Controls the style of generated macro references.
98Set this variable to a non-nil value if you prefer curly braces 98Set this variable to a non-nil value if you prefer curly braces
99in macro-references, so it looks like ${this}. A value of nil 99in macro-references, so it looks like ${this}. A value of nil
100will cause makefile-mode to use parantheses, making macro references 100will cause makefile-mode to use parentheses, making macro references
101look like $(this) .") 101look like $(this) .")
102 102
103(defvar makefile-tab-after-target-colon t 103(defvar makefile-tab-after-target-colon t
@@ -175,7 +175,7 @@ not be enclosed in { } or ( ).")
175;;; ------------------------------------------------------------ 175;;; ------------------------------------------------------------
176;;; The following configurable variables are used in the 176;;; The following configurable variables are used in the
177;;; up-to-date overview . 177;;; up-to-date overview .
178;;; The standard configuration assumes that your `make' programm 178;;; The standard configuration assumes that your `make' program
179;;; can be run in question/query mode using the `-q' option, this 179;;; can be run in question/query mode using the `-q' option, this
180;;; means that the command 180;;; means that the command
181;;; 181;;;
@@ -188,7 +188,7 @@ not be enclosed in { } or ( ).")
188;;; Dennis Vadura's DMake have no problems. 188;;; Dennis Vadura's DMake have no problems.
189;;; Set the variable `makefile-brave-make' to the name of the 189;;; Set the variable `makefile-brave-make' to the name of the
190;;; make utility that does this on your system. 190;;; make utility that does this on your system.
191;;; To understand what this is all about see the function defintion 191;;; To understand what this is all about see the function definition
192;;; of `makefile-query-by-make-minus-q' . 192;;; of `makefile-query-by-make-minus-q' .
193;;; ------------------------------------------------------------ 193;;; ------------------------------------------------------------
194 194
@@ -936,7 +936,7 @@ it will prompt you for all required parameters.
936This function \'knows\' about the required parameters of every 936This function \'knows\' about the required parameters of every
937GNU make function and will use meaningfull prompts for the 937GNU make function and will use meaningfull prompts for the
938various args, making it much easier to take advantage of this 938various args, making it much easier to take advantage of this
939powerfull GNU make feature." 939powerful GNU make feature."
940 (interactive) 940 (interactive)
941 (let* ((gm-function-name (completing-read 941 (let* ((gm-function-name (completing-read
942 "Function: " 942 "Function: "
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 5afd03adc74..9380f98e926 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -64,7 +64,7 @@
64;; Known problems (these are all caused by limitations in the Emacs Lisp 64;; Known problems (these are all caused by limitations in the Emacs Lisp
65;; parsing routine (parse-partial-sexp), which was not designed for such 65;; parsing routine (parse-partial-sexp), which was not designed for such
66;; a rich language; writing a more suitable parser would be a big job): 66;; a rich language; writing a more suitable parser would be a big job):
67;; 1) Regular expression delimitors do not act as quotes, so special 67;; 1) Regular expression delimiters do not act as quotes, so special
68;; characters such as `'"#:;[](){} may need to be backslashed 68;; characters such as `'"#:;[](){} may need to be backslashed
69;; in regular expressions and in both parts of s/// and tr///. 69;; in regular expressions and in both parts of s/// and tr///.
70;; 2) The globbing syntax <pattern> is not recognized, so special 70;; 2) The globbing syntax <pattern> is not recognized, so special
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 76190c948b4..a4baa3056f3 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -268,7 +268,7 @@ of the start of the containing expression."
268 (if first-sexp-list-p 268 (if first-sexp-list-p
269 (setq desired-indent (current-column))) 269 (setq desired-indent (current-column)))
270 ;; Point is at the point to indent under unless we are inside a string. 270 ;; Point is at the point to indent under unless we are inside a string.
271 ;; Call indentation hook except when overriden by scheme-indent-offset 271 ;; Call indentation hook except when overridden by scheme-indent-offset
272 ;; or if the desired indentation has already been computed. 272 ;; or if the desired indentation has already been computed.
273 (cond ((car (nthcdr 3 state)) 273 (cond ((car (nthcdr 3 state))
274 ;; Inside a string, don't change indentation. 274 ;; Inside a string, don't change indentation.
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el
index 6c3a41735a8..3a45f4b5348 100644
--- a/lisp/progmodes/simula.el
+++ b/lisp/progmodes/simula.el
@@ -59,13 +59,13 @@ the previous line of the statement.")
59 59
60(defconst simula-if-indent '(0 . 0) 60(defconst simula-if-indent '(0 . 0)
61 "*Extra indentation of THEN and ELSE with respect to the starting IF. 61 "*Extra indentation of THEN and ELSE with respect to the starting IF.
62Value is a cons cell, the car is extra THEN indention and the cdr 62Value is a cons cell, the car is extra THEN indentation and the cdr
63extra ELSE indention. IF after ELSE is indented as the starting IF.") 63extra ELSE indentation. IF after ELSE is indented as the starting IF.")
64 64
65(defconst simula-inspect-indent '(0 . 0) 65(defconst simula-inspect-indent '(0 . 0)
66 "*Extra indentation of WHEN and OTHERWISE with respect to the 66 "*Extra indentation of WHEN and OTHERWISE with respect to the
67corresponding INSPECT. Value is a cons cell, the car is 67corresponding INSPECT. Value is a cons cell, the car is
68extra WHEN indention and the cdr extra OTHERWISE indention.") 68extra WHEN indentation and the cdr extra OTHERWISE indentation.")
69 69
70(defconst simula-electric-indent nil 70(defconst simula-electric-indent nil
71 "*If this variable is non-nil, the simula-indent-line function 71 "*If this variable is non-nil, the simula-indent-line function
@@ -147,12 +147,12 @@ Variables controlling indentation style:
147 Offset of SIMULA label lines relative to usual indentation 147 Offset of SIMULA label lines relative to usual indentation
148 simula-if-indent '(0 . 0) 148 simula-if-indent '(0 . 0)
149 Extra indentation of THEN and ELSE with respect to the starting IF. 149 Extra indentation of THEN and ELSE with respect to the starting IF.
150 Value is a cons cell, the car is extra THEN indention and the cdr 150 Value is a cons cell, the car is extra THEN indentation and the cdr
151 extra ELSE indention. IF after ELSE is indented as the starting IF. 151 extra ELSE indentation. IF after ELSE is indented as the starting IF.
152 simula-inspect-indent '(0 . 0) 152 simula-inspect-indent '(0 . 0)
153 Extra indentation of WHEN and OTHERWISE with respect to the 153 Extra indentation of WHEN and OTHERWISE with respect to the
154 corresponding INSPECT. Value is a cons cell, the car is 154 corresponding INSPECT. Value is a cons cell, the car is
155 extra WHEN indention and the cdr extra OTHERWISE indention. 155 extra WHEN indentation and the cdr extra OTHERWISE indentation.
156 simula-electric-indent nil 156 simula-electric-indent nil
157 If this variable non-nil value, simula-indent-line 157 If this variable non-nil value, simula-indent-line
158 will check the previous line to see if it has to be reindented. 158 will check the previous line to see if it has to be reindented.
@@ -169,7 +169,7 @@ Turning on SIMULA mode calls the value of the variable simula-mode-hook
169with no arguments, if that value is non-nil 169with no arguments, if that value is non-nil
170 170
171Warning: simula-mode-hook should not read in an abbrev file without calling 171Warning: simula-mode-hook should not read in an abbrev file without calling
172the function simula-install-standard-abbrevs afterwards, preferrably not 172the function simula-install-standard-abbrevs afterwards, preferably not
173at all." 173at all."
174 (interactive) 174 (interactive)
175 (kill-all-local-variables) 175 (kill-all-local-variables)
@@ -680,7 +680,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
680 ;; Calculate non-comment indentation 680 ;; Calculate non-comment indentation
681 (t 681 (t
682 ;; first, find out if this line starts with something that needs 682 ;; first, find out if this line starts with something that needs
683 ;; special indention (END/IF/THEN/ELSE/WHEN/OTHERWISE or label) 683 ;; special indentation (END/IF/THEN/ELSE/WHEN/OTHERWISE or label)
684 ;; 684 ;;
685 (skip-chars-forward " \t\f") 685 (skip-chars-forward " \t\f")
686 (cond 686 (cond
@@ -783,7 +783,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
783 (cdr simula-if-indent)))) 783 (cdr simula-if-indent))))
784 (simula-find-inspect))) 784 (simula-find-inspect)))
785 ;; found the start of a [sub]statement 785 ;; found the start of a [sub]statement
786 ;; add indention for continued statement 786 ;; add indentation for continued statement
787 (if continued 787 (if continued
788 (setq indent 788 (setq indent
789 (+ indent 789 (+ indent
@@ -821,7 +821,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
821 "begin\\|then\\|else\\|when\\|otherwise\\|do"))) 821 "begin\\|then\\|else\\|when\\|otherwise\\|do")))
822 (not (memq (preceding-char) '(?: ?\;)))))) 822 (not (memq (preceding-char) '(?: ?\;))))))
823 ;; if we the state of the continued-variable 823 ;; if we the state of the continued-variable
824 ;; changed, add indention for continued statement 824 ;; changed, add indentation for continued statement
825 (if (or (and prev-cont (not continued)) 825 (if (or (and prev-cont (not continued))
826 (and continued 826 (and continued
827 (listp simula-continued-statement-offset))) 827 (listp simula-continued-statement-offset)))
@@ -835,7 +835,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
835 (setq start-line (save-excursion (beginning-of-line) (point))) 835 (setq start-line (save-excursion (beginning-of-line) (point)))
836 (beginning-of-line)))) 836 (beginning-of-line))))
837 ;; 837 ;;
838 ;; return indention 838 ;; return indentation
839 ;; 839 ;;
840 indent))))) 840 indent)))))
841 841
@@ -909,7 +909,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
909 ((eq (following-char) ?\;) 909 ((eq (following-char) ?\;)
910 (if (zerop parlevel) 910 (if (zerop parlevel)
911 (throw 'simula-out nil) 911 (throw 'simula-out nil)
912 (error "Parethesis mismatch or misplaced ';'"))) 912 (error "Parenthesis mismatch or misplaced ';'")))
913 ((eq (following-char) ?\() 913 ((eq (following-char) ?\()
914 (if (zerop parlevel) 914 (if (zerop parlevel)
915 (throw 'simula-out (1+ (current-column))) 915 (throw 'simula-out (1+ (current-column)))
@@ -947,7 +947,7 @@ If COUNT is negative, move forward instead (simula-next-statement)"
947 "Expand SIMULA keyword. If it starts the line, reindent." 947 "Expand SIMULA keyword. If it starts the line, reindent."
948 ;; redisplay 948 ;; redisplay
949 (let ((show-char (eq this-command 'self-insert-command))) 949 (let ((show-char (eq this-command 'self-insert-command)))
950 ;; If the abbrev expansion results in reindention, the user may have 950 ;; If the abbrev expansion results in reindentation, the user may have
951 ;; to wait some time before the character he typed is displayed 951 ;; to wait some time before the character he typed is displayed
952 ;; (the char causing the expansion is inserted AFTER the hook function 952 ;; (the char causing the expansion is inserted AFTER the hook function
953 ;; is called). This is annoying in case of normal characters. 953 ;; is called). This is annoying in case of normal characters.
diff --git a/lisp/sc.el b/lisp/sc.el
index 313cbe2449d..172c3c425b3 100644
--- a/lisp/sc.el
+++ b/lisp/sc.el
@@ -15,7 +15,7 @@
15;; massages raw reply buffers set up by the reply/forward functions in 15;; massages raw reply buffers set up by the reply/forward functions in
16;; the news/mail subsystems. Therefore, such useful operations as 16;; the news/mail subsystems. Therefore, such useful operations as
17;; yanking and citing portions of the original article (instead of the 17;; yanking and citing portions of the original article (instead of the
18;; whole article) are not within the ability or responsiblity of 18;; whole article) are not within the ability or responsibility of
19;; supercite. 19;; supercite.
20 20
21;; ========== Disclaimer ========== 21;; ========== Disclaimer ==========
@@ -389,7 +389,7 @@ Runs after sc-cite-original executes.")
389 389
390 390
391;; ====================================================================== 391;; ======================================================================
392;; global variables, not user accessable 392;; global variables, not user accessible
393 393
394(defconst sc-version-number "2.3" 394(defconst sc-version-number "2.3"
395 "Supercite's version number.") 395 "Supercite's version number.")
@@ -574,7 +574,7 @@ If FIELD is not a valid key, return sc-mumble-string."
574 ()) 574 ())
575 575
576(defun sc-no-blank-line-or-header() 576(defun sc-no-blank-line-or-header()
577 "Similar to sc-no-header except it removes the preceeding blank line." 577 "Similar to sc-no-header except it removes the preceding blank line."
578 (if (not (bobp)) 578 (if (not (bobp))
579 (if (and (eolp) 579 (if (and (eolp)
580 (progn (forward-line -1) 580 (progn (forward-line -1)
@@ -1000,7 +1000,7 @@ Return the list of name symbols."
1000 (run-hooks 'sc-fill-paragraph-hook))) 1000 (run-hooks 'sc-fill-paragraph-hook)))
1001 (setq fstart (point) 1001 (setq fstart (point)
1002 fend (point))) 1002 fend (point)))
1003 ;; not end of line so perhap cite it 1003 ;; not end of line so perhaps cite it
1004 ((not (looking-at sc-cite-regexp)) 1004 ((not (looking-at sc-cite-regexp))
1005 (insert (aget sc-gal-information "sc-citation"))) 1005 (insert (aget sc-gal-information "sc-citation")))
1006 (sc-nested-citation-p 1006 (sc-nested-citation-p
@@ -1551,7 +1551,7 @@ original message but it does require a few things:
1551;; 1551;;
1552(defun sc-describe () 1552(defun sc-describe ()
1553 "Supercite version 2.3 is now described in a texinfo manual which 1553 "Supercite version 2.3 is now described in a texinfo manual which
1554makes the documenation available both for online perusal via emacs' 1554makes the documentation available both for online perusal via emacs'
1555info system, or for hard-copy printing using the TeX facility. 1555info system, or for hard-copy printing using the TeX facility.
1556 1556
1557To view the online document hit \\[info], then \"mSupercite <RET>\"." 1557To view the online document hit \\[info], then \"mSupercite <RET>\"."
diff --git a/lisp/simple.el b/lisp/simple.el
index fac25878b38..339afef7104 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -301,7 +301,7 @@ that uses or sets the mark."
301 (goto-char (point-min))) 301 (goto-char (point-min)))
302 302
303(defun count-lines-region (start end) 303(defun count-lines-region (start end)
304 "Print number of lines and charcters in the region." 304 "Print number of lines and characters in the region."
305 (interactive "r") 305 (interactive "r")
306 (message "Region has %d lines, %d characters" 306 (message "Region has %d lines, %d characters"
307 (count-lines start end) (- end start))) 307 (count-lines start end) (- end start)))
diff --git a/lisp/sort.el b/lisp/sort.el
index 93c8f2171be..c0135917687 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -331,7 +331,7 @@ FIELD, BEG and END. BEG and END specify region to sort."
331 331
332;;;###autoload 332;;;###autoload
333(defun sort-regexp-fields (reverse record-regexp key-regexp beg end) 333(defun sort-regexp-fields (reverse record-regexp key-regexp beg end)
334 "Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. 334 "Sort the region lexicographically as specified by RECORD-REGEXP and KEY.
335RECORD-REGEXP specifies the textual units which should be sorted. 335RECORD-REGEXP specifies the textual units which should be sorted.
336 For example, to sort lines RECORD-REGEXP would be \"^.*$\" 336 For example, to sort lines RECORD-REGEXP would be \"^.*$\"
337KEY specifies the part of each record (ie each match for RECORD-REGEXP) 337KEY specifies the part of each record (ie each match for RECORD-REGEXP)
diff --git a/lisp/subr.el b/lisp/subr.el
index c652c8893bc..22662dd0687 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -382,7 +382,7 @@ Please convert your programs to use the variable `baud-rate' directly."
382(defalias 'not 'null) 382(defalias 'not 'null)
383(defalias 'rplaca 'setcar) 383(defalias 'rplaca 'setcar)
384(defalias 'rplacd 'setcdr) 384(defalias 'rplacd 'setcdr)
385(defalias 'beep 'ding) ;preserve lingual purtity 385(defalias 'beep 'ding) ;preserve lingual purity
386(defalias 'indent-to-column 'indent-to) 386(defalias 'indent-to-column 'indent-to)
387(defalias 'backward-delete-char 'delete-backward-char) 387(defalias 'backward-delete-char 'delete-backward-char)
388(defalias 'search-forward-regexp (symbol-function 're-search-forward)) 388(defalias 'search-forward-regexp (symbol-function 're-search-forward))
diff --git a/lisp/sun-fns.el b/lisp/sun-fns.el
index 340009580f3..dd4371cd6ec 100644
--- a/lisp/sun-fns.el
+++ b/lisp/sun-fns.el
@@ -32,7 +32,7 @@
32;;; 32;;;
33;;; 33;;;
34;;; Functions for manipulating via the mouse and mouse-map definitions 34;;; Functions for manipulating via the mouse and mouse-map definitions
35;;; for accessing them. Also definitons of mouse menus. 35;;; for accessing them. Also definitions of mouse menus.
36;;; This file you should freely modify to reflect you personal tastes. 36;;; This file you should freely modify to reflect you personal tastes.
37;;; 37;;;
38;;; First half of file defines functions to implement mouse commands, 38;;; First half of file defines functions to implement mouse commands,
@@ -43,7 +43,7 @@
43;;; Mouse Functions. 43;;; Mouse Functions.
44;;; 44;;;
45;;; These functions follow the sun-mouse-handler convention of being called 45;;; These functions follow the sun-mouse-handler convention of being called
46;;; with three arguements: (window x-pos y-pos) 46;;; with three arguments: (window x-pos y-pos)
47;;; This makes it easy for a mouse executed command to know where the mouse is. 47;;; This makes it easy for a mouse executed command to know where the mouse is.
48;;; Use the macro "eval-in-window" to execute a function 48;;; Use the macro "eval-in-window" to execute a function
49;;; in a temporarily selected window. 49;;; in a temporarily selected window.
@@ -138,7 +138,7 @@ and put the region in the stuff buffer."
138 (mouse-select-window window x y))) 138 (mouse-select-window window x y)))
139 139
140;;; 140;;;
141;;; esoteria: 141;;; esoterica:
142;;; 142;;;
143(defun mouse-exch-pt-and-mark (window x y) 143(defun mouse-exch-pt-and-mark (window x y)
144 "Exchange point and mark." 144 "Exchange point and mark."
@@ -321,7 +321,7 @@ relative X divided by window width."
321 (if (>= x (1- (window-width))) 321 (if (>= x (1- (window-width)))
322 ;; When x is maximun (equal to or 1 less than window width), 322 ;; When x is maximun (equal to or 1 less than window width),
323 ;; goto end of buffer. We check for this special case 323 ;; goto end of buffer. We check for this special case
324 ;; becuase the calculated goto-char often goes short of the 324 ;; because the calculated goto-char often goes short of the
325 ;; end due to roundoff error, and we often really want to go 325 ;; end due to roundoff error, and we often really want to go
326 ;; to the end. 326 ;; to the end.
327 (goto-char (point-max)) 327 (goto-char (point-max))
@@ -418,7 +418,7 @@ relative X divided by window width."
418;;; minibuffer menu 418;;; minibuffer menu
419;;; 419;;;
420(defmenu minibuffer-menu 420(defmenu minibuffer-menu
421 ("Minibuffer" message "Just some miscellanous minibuffer commands") 421 ("Minibuffer" message "Just some miscellaneous minibuffer commands")
422 ("Stuff" sun-yank-selection) 422 ("Stuff" sun-yank-selection)
423 ("Do-It" exit-minibuffer) 423 ("Do-It" exit-minibuffer)
424 ("Abort" abort-recursive-edit) 424 ("Abort" abort-recursive-edit)
diff --git a/lisp/term/README b/lisp/term/README
index 7307634c75c..e672b15dcf7 100644
--- a/lisp/term/README
+++ b/lisp/term/README
@@ -162,7 +162,7 @@ key_f64 k1 function key 64
162 162
163(4) The uses of the "k0" capability are inconsistent; sometimes it 163(4) The uses of the "k0" capability are inconsistent; sometimes it
164 describes F10, whereas othertimes it describes F0 and "k;" describes F10. 164 describes F10, whereas othertimes it describes F0 and "k;" describes F10.
165 Emacs attempts to politely accomodate both systems by testing for 165 Emacs attempts to politely accommodate both systems by testing for
166 "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10. 166 "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10.
167----------------------------------------------------------------------------- 167-----------------------------------------------------------------------------
168 168
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el
index 2356c65917a..b34c3833dd5 100644
--- a/lisp/term/sun-mouse.el
+++ b/lisp/term/sun-mouse.el
@@ -65,7 +65,7 @@ Setting to nil limits the scrollbar to the edge or vertical dividing bar.")
65 65
66(defun define-mouse (mousemap mouse-list def) 66(defun define-mouse (mousemap mouse-list def)
67 "Args MOUSEMAP, MOUSE-LIST, DEF. Define MOUSE-LIST in MOUSEMAP as DEF. 67 "Args MOUSEMAP, MOUSE-LIST, DEF. Define MOUSE-LIST in MOUSEMAP as DEF.
68MOUSE-LIST is a list of atoms specifing a mouse hit according to these rules: 68MOUSE-LIST is a list of atoms specifying a mouse hit according to these rules:
69 * One of these atoms specifies the active region of the definition. 69 * One of these atoms specifies the active region of the definition.
70 text, scrollbar, modeline, minibuffer 70 text, scrollbar, modeline, minibuffer
71 * One or two or these atoms specify the button or button combination. 71 * One or two or these atoms specify the button or button combination.
@@ -151,7 +151,7 @@ Just like the Common Lisp function of the same name."
151(defmacro sm::hit-x (hit) (list 'nth 1 hit)) 151(defmacro sm::hit-x (hit) (list 'nth 1 hit))
152;;; Screen y position. 152;;; Screen y position.
153(defmacro sm::hit-y (hit) (list 'nth 2 hit)) 153(defmacro sm::hit-y (hit) (list 'nth 2 hit))
154;;; Millisconds since last hit. 154;;; Milliseconds since last hit.
155(defmacro sm::hit-delta (hit) (list 'nth 3 hit)) 155(defmacro sm::hit-delta (hit) (list 'nth 3 hit))
156 156
157(defmacro sm::hit-up-p (hit) ; A predicate. 157(defmacro sm::hit-up-p (hit) ; A predicate.
@@ -374,7 +374,7 @@ Returns one of (text scrollbar modeline minibuffer)"
374 (cond ((minibuffer-window-p w) 'minibuffer) 374 (cond ((minibuffer-window-p w) 'minibuffer)
375 ((>= y bottom) 'modeline) 375 ((>= y bottom) 'modeline)
376 ((>= x right) 'scrollbar) 376 ((>= x right) 'scrollbar)
377 ;; far right column (window seperator) is always a scrollbar 377 ;; far right column (window separator) is always a scrollbar
378 ((and scrollbar-width 378 ((and scrollbar-width
379 ;; mouse within scrollbar-width of edge. 379 ;; mouse within scrollbar-width of edge.
380 (>= x (- right scrollbar-width)) 380 (>= x (- right scrollbar-width))
@@ -596,7 +596,7 @@ evaluated for their side-effects rather than their values.
596 If the selected form is a menu or a symbol whose value is a menu, 596 If the selected form is a menu or a symbol whose value is a menu,
597then it is displayed and evaluated as a pullright menu item. 597then it is displayed and evaluated as a pullright menu item.
598 If the the FORM of the first ITEM is nil, the STRING of the item 598 If the the FORM of the first ITEM is nil, the STRING of the item
599is used as a label for the menu, i.e. it's inverted and not selectible." 599is used as a label for the menu, i.e. it's inverted and not selectable."
600 600
601 (if (symbolp menu) (setq menu (symbol-value menu))) 601 (if (symbolp menu) (setq menu (symbol-value menu)))
602 (eval (sun-menu-internal *menu-window* *menu-x* *menu-y* 4 menu))) 602 (eval (sun-menu-internal *menu-window* *menu-x* *menu-y* 4 menu)))
@@ -641,7 +641,7 @@ CODE values: 13 = Tool-Position, 14 = Size-in-Pixels, 18 = Size-in-Chars."
641 641
642;;; 642;;;
643;;; Function interface to selection/region 643;;; Function interface to selection/region
644;;; primative functions are defined in sunfns.c 644;;; primitive functions are defined in sunfns.c
645;;; 645;;;
646(defun sun-yank-selection () 646(defun sun-yank-selection ()
647 "Set mark and yank the contents of the current sunwindows selection. 647 "Set mark and yank the contents of the current sunwindows selection.
diff --git a/lisp/term/wyse50.el b/lisp/term/wyse50.el
index 9cc7ff991c6..64bd9532de4 100644
--- a/lisp/term/wyse50.el
+++ b/lisp/term/wyse50.el
@@ -26,7 +26,7 @@
26 26
27;; Uses the Emacs 19 terminal initialization features --- won't work with 18. 27;; Uses the Emacs 19 terminal initialization features --- won't work with 18.
28;; Rewritten for Emacs 19 by jimb, January 1992 28;; Rewritten for Emacs 19 by jimb, January 1992
29;; Cleaned up for new terminal package cinventions by esr, March 1993 29;; Cleaned up for new terminal package conventions by esr, March 1993
30;; Should work well for Televideo TVI 925 although it's overkill. 30;; Should work well for Televideo TVI 925 although it's overkill.
31;; 31;;
32;; The Wyse50 is ergonomically wonderful, but its escape-sequence design sucks 32;; The Wyse50 is ergonomically wonderful, but its escape-sequence design sucks
diff --git a/lisp/terminal.el b/lisp/terminal.el
index 31e22f4d10d..195fc6321c1 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -394,7 +394,7 @@ all pending output has been dealt with.")
394 394
395(defun te-more-break-flush-pending-output () 395(defun te-more-break-flush-pending-output ()
396 "Discard any output which has been received by the terminal emulator but 396 "Discard any output which has been received by the terminal emulator but
397not yet proceesed and then proceed from the more break." 397not yet processed and then proceed from the more break."
398 (interactive) 398 (interactive)
399 (te-more-break-unwind) 399 (te-more-break-unwind)
400 (te-flush-pending-output)) 400 (te-flush-pending-output))
@@ -1167,9 +1167,9 @@ work with `terminfo' we will try to use it."
1167 1167
1168(put 'terminal-mode 'mode-class 'special) 1168(put 'terminal-mode 'mode-class 'special)
1169;; This is only separated out from function terminal-emulator 1169;; This is only separated out from function terminal-emulator
1170;; to keep the latter a little more managable. 1170;; to keep the latter a little more manageable.
1171(defun terminal-mode () 1171(defun terminal-mode ()
1172 "Set up variables for use f the terminal-emualtor. 1172 "Set up variables for use with the terminal-emulator.
1173One should not call this -- it is an internal function 1173One should not call this -- it is an internal function
1174of the terminal-emulator" 1174of the terminal-emulator"
1175 (kill-all-local-variables) 1175 (kill-all-local-variables)
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 8e8e85590c7..b6c13fb8605 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -144,11 +144,11 @@
144;;; M-C-e end-of-bibtex-entry 144;;; M-C-e end-of-bibtex-entry
145;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17 145;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17
146;;; * Handle items like 146;;; * Handle items like
147;;; title = poft # "Fifth Tri-quaterly" # random-conf, 147;;; title = poft # "Fifth Tri-quarterly" # random-conf,
148;;; and title = {This title is inside curlies} 148;;; and title = {This title is inside curlies}
149;;; * added user settable, always present, optional fields 149;;; * added user settable, always present, optional fields
150;;; * fixed 'bibtex-find-it's doc string's location 150;;; * fixed 'bibtex-find-it's doc string's location
151;;; * bibtex-field-text made more general (it wouldnt handle the # construct) 151;;; * bibtex-field-text made more general (it wouldn't handle the # construct)
152;;; and it now handles a small subset of the {} cases 152;;; and it now handles a small subset of the {} cases
153 153
154;;; Bengt Martensson, March 6 154;;; Bengt Martensson, March 6
@@ -553,7 +553,7 @@ Chosen on aesthetic grounds only.")
553Equal to the space needed for the longest name part.") 553Equal to the space needed for the longest name part.")
554 554
555(defun bibtex-current-entry-label (&optional include-cite kill) 555(defun bibtex-current-entry-label (&optional include-cite kill)
556 "Return the label of the bibtex entry containing, or preceeding point. 556 "Return the label of the bibtex entry containing, or preceding point.
557Optional argument INCLUDE-CITE, if true means put a '\\cite{}' around the 557Optional argument INCLUDE-CITE, if true means put a '\\cite{}' around the
558returned value. Second optional argument KILL, if true, means place the 558returned value. Second optional argument KILL, if true, means place the
559returned value in the kill buffer. Interactively; providing prefix 559returned value in the kill buffer. Interactively; providing prefix
@@ -563,7 +563,7 @@ Rationale:
563The intention is that someone will write a function that can be bound to 563The intention is that someone will write a function that can be bound to
564a mouse key so that people entering TeX can just mouse on the bibtex entry 564a mouse key so that people entering TeX can just mouse on the bibtex entry
565and have the citation key inserted at the current point (which will almost 565and have the citation key inserted at the current point (which will almost
566certainly be in some other bufer). In the interim this function is 566certainly be in some other buffer). In the interim this function is
567marginally useful for keyboard binding and is not bound by default. 567marginally useful for keyboard binding and is not bound by default.
568Suggested binding is ^C-k." 568Suggested binding is ^C-k."
569 (interactive (list current-prefix-arg t)) 569 (interactive (list current-prefix-arg t))
@@ -689,7 +689,7 @@ non-nil."
689 (setq local-abbrev-table bibtex-mode-abbrev-table) 689 (setq local-abbrev-table bibtex-mode-abbrev-table)
690 (make-local-variable 'paragraph-start) 690 (make-local-variable 'paragraph-start)
691 (setq paragraph-start "^[ \f\n\t]*$") 691 (setq paragraph-start "^[ \f\n\t]*$")
692 (auto-fill-mode 1) ; nice alignements 692 (auto-fill-mode 1) ; nice alignments
693 (setq left-margin (+ bibtex-text-alignment 1)) 693 (setq left-margin (+ bibtex-text-alignment 1))
694 694
695 (run-hooks 'bibtex-mode-hook)) 695 (run-hooks 'bibtex-mode-hook))
@@ -813,7 +813,7 @@ If bibtex-sort-ignore-string-entries is true, @string entries will be ignored.
813 813
814Bugs: 814Bugs:
815 1. Text between the closing brace ending one bibtex entry, and the @ starting 815 1. Text between the closing brace ending one bibtex entry, and the @ starting
816 the next, is considered part of the PRECEEDING entry. Perhaps it should be 816 the next, is considered part of the PRECEDING entry. Perhaps it should be
817 part of the following entry." 817 part of the following entry."
818 (interactive) 818 (interactive)
819 (save-restriction 819 (save-restriction
@@ -825,7 +825,7 @@ Bugs:
825 (end-of-bibtex-entry) 825 (end-of-bibtex-entry)
826 (point))) 826 (point)))
827 (sort-subr nil ; reversep 827 (sort-subr nil ; reversep
828 ;; begining of record function 828 ;; beginning of record function
829 'forward-line 829 'forward-line
830 ;; end of record function 830 ;; end of record function
831 (function (lambda () (and (re-search-forward "}\\s-*\n[\n \t]*@" nil 'move) 831 (function (lambda () (and (re-search-forward "}\\s-*\n[\n \t]*@" nil 'move)
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el
index 08aed07b4e3..ff37d27ce4d 100644
--- a/lisp/textmodes/ispell4.el
+++ b/lisp/textmodes/ispell4.el
@@ -69,7 +69,7 @@ to look for the next message from the ISPELL program.")
69 69
70(defun kill-ispell () 70(defun kill-ispell ()
71 "Kill the ispell process. 71 "Kill the ispell process.
72Any changes the your private dictionay 72Any changes in your private dictionary
73that have not already been dumped will be lost." 73that have not already been dumped will be lost."
74 (interactive) 74 (interactive)
75 (if ispell-process 75 (if ispell-process
@@ -141,7 +141,7 @@ WORD Check spelling of WORD. Result is
141:file FILENAME scan the named file, and print the file offsets of 141:file FILENAME scan the named file, and print the file offsets of
142 any misspelled words 142 any misspelled words
143 143
144:insert WORD put word in private dictonary 144:insert WORD put word in private dictionary
145 145
146:accept WORD don't complain about word any more this session 146:accept WORD don't complain about word any more this session
147 147
@@ -209,10 +209,10 @@ DIGIT Near miss selector. If the misspelled word is close to
209 some words in the dictionary, they are offered as near misses. 209 some words in the dictionary, they are offered as near misses.
210r Replace. Replace the word with a string you type. Each word 210r Replace. Replace the word with a string you type. Each word
211 of your new string is also checked. 211 of your new string is also checked.
212i Insert. Insert this word in your private dictonary (kept in 212i Insert. Insert this word in your private dictionary (kept in
213 `$HOME/ispell.words'). 213 `$HOME/ispell.words').
214a Accept. Accept this word for the rest of this editing session, 214a Accept. Accept this word for the rest of this editing session,
215 but don't put it in your private dictonary. 215 but don't put it in your private dictionary.
216l Lookup. Look for a word in the dictionary by fast binary 216l Lookup. Look for a word in the dictionary by fast binary
217 search, or search for a regular expression in the dictionary 217 search, or search for a regular expression in the dictionary
218 using grep. 218 using grep.
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el
index 847d0b674e2..8537e59450b 100644
--- a/lisp/textmodes/page-ext.el
+++ b/lisp/textmodes/page-ext.el
@@ -77,7 +77,7 @@
77;;; `pages-directory-address-mode' now sets local variables and enables 77;;; `pages-directory-address-mode' now sets local variables and enables
78;;; `describe-mode' to describe Addresses Directory mode. 78;;; `describe-mode' to describe Addresses Directory mode.
79;;; 79;;;
80;;; `pages-directory-for-addresses' now sets the buffer-modifed flag 80;;; `pages-directory-for-addresses' now sets the buffer-modified flag
81;;; for the Addresses Directory to nil. 81;;; for the Addresses Directory to nil.
82;;; 82;;;
83;;; The documentation string for both `pages-directory-mode' and 83;;; The documentation string for both `pages-directory-mode' and
@@ -223,7 +223,7 @@
223; Washington, DC 20515 223; Washington, DC 20515
224; 224;
225; Congressional committee concerned with permitting or preventing 225; Congressional committee concerned with permitting or preventing
226; monopolistic restictions on the use of software technology 226; monopolistic restrictions on the use of software technology
227; 227;
228; 228;
229; George Lakoff 229; George Lakoff
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 8435376a8b7..7c0490b6d2e 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -44,7 +44,7 @@ if necessary to attain exactly the specified column."
44 (delete-char -1) 44 (delete-char -1)
45 (indent-to col) 45 (indent-to col)
46 (move-to-column column)))) 46 (move-to-column column))))
47 ;; This call will go away when Emacs gets real horizonal autoscrolling 47 ;; This call will go away when Emacs gets real horizontal autoscrolling
48 (hscroll-point-visible))) 48 (hscroll-point-visible)))
49 49
50 50
@@ -57,7 +57,7 @@ If scan reaches end of buffer, stop there without error."
57 (interactive "P") 57 (interactive "P")
58 (if arg (forward-line (1- (prefix-numeric-value arg)))) 58 (if arg (forward-line (1- (prefix-numeric-value arg))))
59 (beginning-of-line) 59 (beginning-of-line)
60 ;; This call will go away when Emacs gets real horizonal autoscrolling 60 ;; This call will go away when Emacs gets real horizontal autoscrolling
61 (hscroll-point-visible)) 61 (hscroll-point-visible))
62 62
63(defun picture-end-of-line (&optional arg) 63(defun picture-end-of-line (&optional arg)
@@ -68,7 +68,7 @@ If scan reaches end of buffer, stop there without error."
68 (if arg (forward-line (1- (prefix-numeric-value arg)))) 68 (if arg (forward-line (1- (prefix-numeric-value arg))))
69 (beginning-of-line) 69 (beginning-of-line)
70 (skip-chars-backward " \t" (prog1 (point) (end-of-line))) 70 (skip-chars-backward " \t" (prog1 (point) (end-of-line)))
71 ;; This call will go away when Emacs gets real horizonal autoscrolling 71 ;; This call will go away when Emacs gets real horizontal autoscrolling
72 (hscroll-point-visible)) 72 (hscroll-point-visible))
73 73
74(defun picture-forward-column (arg) 74(defun picture-forward-column (arg)
@@ -238,7 +238,7 @@ always moves to the beginning of a line."
238 (end-of-line) 238 (end-of-line)
239 (if (eobp) (newline) (forward-char 1)) 239 (if (eobp) (newline) (forward-char 1))
240 (setq arg (1- arg)))) 240 (setq arg (1- arg))))
241 ;; This call will go away when Emacs gets real horizonal autoscrolling 241 ;; This call will go away when Emacs gets real horizontal autoscrolling
242 (hscroll-point-visible)) 242 (hscroll-point-visible))
243 243
244(defun picture-open-line (arg) 244(defun picture-open-line (arg)
@@ -248,7 +248,7 @@ With positive argument insert that many lines."
248 (save-excursion 248 (save-excursion
249 (end-of-line) 249 (end-of-line)
250 (open-line arg)) 250 (open-line arg))
251 ;; This call will go away when Emacs gets real horizonal autoscrolling 251 ;; This call will go away when Emacs gets real horizontal autoscrolling
252 (hscroll-point-visible)) 252 (hscroll-point-visible))
253 253
254(defun picture-duplicate-line () 254(defun picture-duplicate-line ()
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el
index e1ed847ca79..6ebbe35654b 100644
--- a/lisp/textmodes/spell.el
+++ b/lisp/textmodes/spell.el
@@ -23,7 +23,7 @@
23 23
24;;; Commentary: 24;;; Commentary:
25 25
26;; This mode orovides an Emacs interface to the UNIX spell(1) program. 26;; This mode provides an Emacs interface to the UNIX spell(1) program.
27;; Entry points are `spell-buffer', `spell-word', `spell-region' and 27;; Entry points are `spell-buffer', `spell-word', `spell-region' and
28;; `spell-string'. These facilities are documented in the Emacs user's 28;; `spell-string'. These facilities are documented in the Emacs user's
29;; manual. 29;; manual.
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 199fc58bea9..e6db1dafcdf 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -520,7 +520,7 @@ and the location is displayed for a few seconds."
520 (or (tex-validate-region (point) end) 520 (or (tex-validate-region (point) end)
521 (progn 521 (progn
522 (push-mark (point)) 522 (push-mark (point))
523 (message "Mismatch found in pararaph starting here") 523 (message "Mismatch found in paragraph starting here")
524 (sit-for 4))))) 524 (sit-for 4)))))
525 (goto-char opoint)))) 525 (goto-char opoint))))
526 526
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 20bbefcdb60..c45662132f2 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -431,7 +431,7 @@ converted to Info is stored in a temporary buffer."
431 431
432 432
433; 19 October 1990 433; 19 October 1990
434; @setfilename modifed to work with include files; see @include 434; @setfilename modified to work with include files; see @include
435; (defun texinfo-format-setfilename () 435; (defun texinfo-format-setfilename ()
436; (let ((arg (texinfo-parse-arg-discard))) 436; (let ((arg (texinfo-parse-arg-discard)))
437; (setq texinfo-format-filename 437; (setq texinfo-format-filename
@@ -1653,7 +1653,7 @@ If used within a line, follow `@minus' with braces."
1653;; In the original version, include files were ignored by Info but 1653;; In the original version, include files were ignored by Info but
1654;; incorporated in to the printed manual. To make references to the 1654;; incorporated in to the printed manual. To make references to the
1655;; included file, the Texinfo source file has to refer to the included 1655;; included file, the Texinfo source file has to refer to the included
1656;; files using the `(filename)nodename' format for refering to other 1656;; files using the `(filename)nodename' format for referring to other
1657;; Info files. Also, the included files had to be formatted on their 1657;; Info files. Also, the included files had to be formatted on their
1658;; own. It was just like they were another file. 1658;; own. It was just like they were another file.
1659 1659
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index a739826c4f2..dae1d6aa8c7 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -570,7 +570,7 @@ menus in the buffer (incorporating descriptions from pre-existing
570menus) before it constructs the master menu. 570menus) before it constructs the master menu.
571 571
572The function removes the detailed part of an already existing master 572The function removes the detailed part of an already existing master
573menu. This action depends on the pre-exisitng master menu using the 573menu. This action depends on the pre-existing master menu using the
574standard `texinfo-master-menu-header'. 574standard `texinfo-master-menu-header'.
575 575
576The master menu has the following format, which is adapted from the 576The master menu has the following format, which is adapted from the
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index b4b543f9a47..c4724687c2b 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -80,7 +80,7 @@ All the commands defined in Text mode are inherited unless overridden.")
80 80
81(if indented-text-mode-map 81(if indented-text-mode-map
82 () 82 ()
83 ;; Make different definintion for TAB before the one in text-mode-map, but 83 ;; Make different definition for TAB before the one in text-mode-map, but
84 ;; share the rest. 84 ;; share the rest.
85 (let ((newmap (make-sparse-keymap))) 85 (let ((newmap (make-sparse-keymap)))
86 (define-key newmap "\t" 'indent-relative) 86 (define-key newmap "\t" 'indent-relative)
diff --git a/lisp/timer.el b/lisp/timer.el
index 609224a66e5..c069e13159e 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -23,7 +23,7 @@
23;;; Commentary: 23;;; Commentary:
24 24
25;; This package gives you the capability to run Emacs Lisp commands at 25;; This package gives you the capability to run Emacs Lisp commands at
26;; specified simes in the future, either as one-shots or periodically. 26;; specified times in the future, either as one-shots or periodically.
27;; The single entry point is `run-at-time'. 27;; The single entry point is `run-at-time'.
28 28
29;;; Code: 29;;; Code:
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)