aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1992-04-01 11:14:15 +0000
committerJim Blandy1992-04-01 11:14:15 +0000
commit08564963293aac2ea90a3dee54f48ded962238eb (patch)
tree4424e2ded321dd8606dabc4ef00a6f058108725b
parentca1d1d23251bc8f159d0131d345702aabf2dd078 (diff)
downloademacs-08564963293aac2ea90a3dee54f48ded962238eb.tar.gz
emacs-08564963293aac2ea90a3dee54f48ded962238eb.zip
*** empty log message ***
-rw-r--r--Makefile.in23
-rwxr-xr-xbuild-ins.in10
-rw-r--r--etc/MACHINES8
-rw-r--r--lib-src/movemail.c34
-rw-r--r--lisp/loadup.el6
-rw-r--r--lisp/mail/sendmail.el5
-rw-r--r--src/config.in4
-rw-r--r--src/doc.c12
-rw-r--r--src/eval.c15
-rw-r--r--src/lread.c4
-rw-r--r--src/process.c2
11 files changed, 69 insertions, 54 deletions
diff --git a/Makefile.in b/Makefile.in
index 7c5a3d742c4..cd084aa62d3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# This is the distribution Makefile for Emacs. config.emacs can make 1# This is the distribution Makefile for Emacs. configure can make
2# most of the changes to this file you might want, so try that first. 2# most of the changes to this file you might want, so try that first.
3 3
4# make all to compile and build Emacs 4# make all to compile and build Emacs
@@ -24,7 +24,7 @@ SHELL = /bin/sh
24# already, the `install' targets will move or copy it there. The 24# already, the `install' targets will move or copy it there. The
25# default definitions for the variables below are expressed in terms 25# default definitions for the variables below are expressed in terms
26# of this one, so you may not need to change them. 26# of this one, so you may not need to change them.
27LIBROOT=/gd/gnu/emacs 27LIBROOT=/home/gd/gnu/emacs
28 28
29# This is where the `install' make target should place the binaries 29# This is where the `install' make target should place the binaries
30# people will want to run directly (like etags and Emacs itself). 30# people will want to run directly (like etags and Emacs itself).
@@ -35,19 +35,19 @@ INSTALLBIN=/usr/local/bin
35# elisp files should go under DATADIR (below), since both elisp source 35# elisp files should go under DATADIR (below), since both elisp source
36# and compiled elisp are completely portable, but it's traditional to 36# and compiled elisp are completely portable, but it's traditional to
37# give the lisp files their own subdirectory. 37# give the lisp files their own subdirectory.
38LISPPATH=/gd/gnu/emacs/local-lisp:/gd/gnu/emacs/lisp 38LISPPATH=/home/gd/gnu/emacs/local-lisp:/home/gd/gnu/emacs/lisp
39 39
40# Emacs will look here for its architecture-independent files (like 40# Emacs will look here for its architecture-independent files (like
41# the tutorial and the zippy database). 41# the tutorial and the zippy database).
42DATADIR=/gd/gnu/emacs/share-lib 42DATADIR=/home/gd/gnu/emacs/etc
43 43
44# Emacs will look here for its architecture-dependent files, like 44# Emacs will look here for its architecture-dependent files, like
45# executables for its utilities. 45# executables for its utilities.
46LIBDIR=/gd/gnu/emacs/arch-lib 46LIBDIR=/home/gd/gnu/emacs/arch-lib
47 47
48# The locking directory, where the Emacs locking code keeps track of 48# The locking directory, where the Emacs locking code keeps track of
49# which files are currently being edited. 49# which files are currently being edited.
50LOCKDIR=/gd/gnu/emacs/lock 50LOCKDIR=/home/gd/gnu/emacs/lock
51 51
52# This is where the `install' make target should place the man pages 52# This is where the `install' make target should place the man pages
53# for the binaries it installs. 53# for the binaries it installs.
@@ -64,7 +64,7 @@ MFLAGS=
64SUBDIR= lib-src src 64SUBDIR= lib-src src
65 65
66# Subdirectories to install 66# Subdirectories to install
67COPYDIR= arch-lib share-lib info lisp 67COPYDIR= arch-lib etc info lisp
68 68
69# Subdirectories to clean 69# Subdirectories to clean
70CLEANDIR= ${COPYDIR} lisp/term 70CLEANDIR= ${COPYDIR} lisp/term
@@ -76,7 +76,8 @@ src/paths.h: Makefile src/paths.h-dist
76 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "$(LISPPATH)";' \ 76 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "$(LISPPATH)";' \
77 -e 's;\(#.*PATH_EXEC\).*$$;\1 "$(LIBDIR)";' \ 77 -e 's;\(#.*PATH_EXEC\).*$$;\1 "$(LIBDIR)";' \
78 -e 's;\(#.*PATH_DATA\).*$$;\1 "$(DATADIR)";' \ 78 -e 's;\(#.*PATH_DATA\).*$$;\1 "$(DATADIR)";' \
79 -e 's;\(#.*LOCK\).*$$;\1 "$(LOCKDIR)/";' 79 -e 's;\(#.*PATH_LOCK\).*$$;\1 "$(LOCKDIR)/";' \
80 -e 's;\(#.*PATH_SUPERLOCK\).*$$;\1 "$(LOCKDIR)/!!!SuperLock!!!";'
80 81
81src: lib-src 82src: lib-src
82 83
@@ -99,7 +100,7 @@ install: all mkdir lockdir
99 install -c -s arch-lib/etags ${INSTALLBIN}/etags 100 install -c -s arch-lib/etags ${INSTALLBIN}/etags
100 install -c -s arch-lib/ctags ${INSTALLBIN}/ctags 101 install -c -s arch-lib/ctags ${INSTALLBIN}/ctags
101 install -c -s -m 1755 src/xemacs ${INSTALLBIN}/xemacs 102 install -c -s -m 1755 src/xemacs ${INSTALLBIN}/xemacs
102 install -c -m 444 share-lib/emacs.1 ${MANDIR}/emacs.1 103 install -c -m 444 etc/emacs.1 ${MANDIR}/emacs.1
103 -rm -f ${INSTALLBIN}/emacs 104 -rm -f ${INSTALLBIN}/emacs
104 mv ${INSTALLBIN}/xemacs ${INSTALLBIN}/emacs 105 mv ${INSTALLBIN}/xemacs ${INSTALLBIN}/emacs
105 106
@@ -116,7 +117,7 @@ install.sysv: all mkdir lockdir
116 -cpset arch-lib/emacsclient ${INSTALLBIN}/emacsclient 755 bin bin 117 -cpset arch-lib/emacsclient ${INSTALLBIN}/emacsclient 755 bin bin
117 -cpset arch-lib/etags ${INSTALLBIN}/etags 755 bin bin 118 -cpset arch-lib/etags ${INSTALLBIN}/etags 755 bin bin
118 -cpset arch-lib/ctags ${INSTALLBIN}/ctags 755 bin bin 119 -cpset arch-lib/ctags ${INSTALLBIN}/ctags 755 bin bin
119 -cpset share-lib/emacs.1 ${MANDIR}/emacs.1 444 bin bin 120 -cpset etc/emacs.1 ${MANDIR}/emacs.1 444 bin bin
120 -/bin/rm -f ${INSTALLBIN}/emacs 121 -/bin/rm -f ${INSTALLBIN}/emacs
121 -cpset src/xemacs ${INSTALLBIN}/emacs 1755 bin bin 122 -cpset src/xemacs ${INSTALLBIN}/emacs 1755 bin bin
122 123
@@ -132,7 +133,7 @@ install.xenix: all mkdir lockdir
132 fi 133 fi
133 cp arch-lib/etags arch-lib/ctags arch-lib/emacsclient ${INSTALLBIN} 134 cp arch-lib/etags arch-lib/ctags arch-lib/emacsclient ${INSTALLBIN}
134 chmod 755 ${INSTALLBIN}/etags ${INSTALLBIN}/ctags ${INSTALLBIN}/emacsclient 135 chmod 755 ${INSTALLBIN}/etags ${INSTALLBIN}/ctags ${INSTALLBIN}/emacsclient
135 cp share-lib/emacs.1 ${MANDIR}/emacs.1 136 cp etc/emacs.1 ${MANDIR}/emacs.1
136 chmod 444 ${MANDIR}/emacs.1 137 chmod 444 ${MANDIR}/emacs.1
137 -mv -f ${INSTALLBIN}/emacs ${INSTALLBIN}/emacs.old 138 -mv -f ${INSTALLBIN}/emacs ${INSTALLBIN}/emacs.old
138 cp src/xemacs ${INSTALLBIN}/emacs 139 cp src/xemacs ${INSTALLBIN}/emacs
diff --git a/build-ins.in b/build-ins.in
index 191b5ec4e94..778c8221e78 100755
--- a/build-ins.in
+++ b/build-ins.in
@@ -7,27 +7,27 @@
7# libaries. The default definitions for the variables below are 7# libaries. The default definitions for the variables below are
8# expressed in terms of this one, so you may not need to change them. 8# expressed in terms of this one, so you may not need to change them.
9# set LIBROOT=/usr/local/lib/emacs-19.0 9# set LIBROOT=/usr/local/lib/emacs-19.0
10LIBROOT=/gd/gnu/emacs 10LIBROOT=/home/gd/gnu/emacs
11 11
12# Emacs will search this path to find its elisp files. This should be 12# Emacs will search this path to find its elisp files. This should be
13# a colon-separated list of directories. Strictly speaking, all the 13# a colon-separated list of directories. Strictly speaking, all the
14# elisp files should go under DATADIR (below), since both elisp source 14# elisp files should go under DATADIR (below), since both elisp source
15# and compiled elisp are completely portable, but it's traditional to 15# and compiled elisp are completely portable, but it's traditional to
16# give the lisp files their own subdirectory. 16# give the lisp files their own subdirectory.
17LISPPATH=/gd/gnu/emacs/local-lisp:/gd/gnu/emacs/lisp 17LISPPATH=/home/gd/gnu/emacs/local-lisp:/home/gd/gnu/emacs/lisp
18 18
19# Emacs will look here for its architecture-independent files (like 19# Emacs will look here for its architecture-independent files (like
20# the tutorial and the zippy database). 20# the tutorial and the zippy database).
21DATADIR=/gd/gnu/emacs/share-lib 21DATADIR=/home/gd/gnu/emacs/etc
22 22
23# Emacs will look here for its architecture-dependent files, like 23# Emacs will look here for its architecture-dependent files, like
24# executables for its utilities. 24# executables for its utilities.
25LIBDIR=/gd/gnu/emacs/arch-lib 25LIBDIR=/home/gd/gnu/emacs/arch-lib
26 26
27# The locking directory, where the Emacs locking code keeps track of 27# The locking directory, where the Emacs locking code keeps track of
28# which files are currently being edited. 28# which files are currently being edited.
29# set LOCKDIR=${LIBROOT}/lock 29# set LOCKDIR=${LIBROOT}/lock
30LOCKDIR=/gd/gnu/emacs/lock 30LOCKDIR=/home/gd/gnu/emacs/lock
31 31
32# This is where build-install should place the binaries people will 32# This is where build-install should place the binaries people will
33# want to run directly (like etags and Emacs itself). 33# want to run directly (like etags and Emacs itself).
diff --git a/etc/MACHINES b/etc/MACHINES
index 5173b5f3427..c008dcf28b6 100644
--- a/etc/MACHINES
+++ b/etc/MACHINES
@@ -2,7 +2,7 @@ This is a list of the status of GNU Emacs on various machines and systems.
2Last updated 10 Feb 1992. 2Last updated 10 Feb 1992.
3 3
4For each system and machine, we give the `-opsystem' and `-machine' 4For each system and machine, we give the `-opsystem' and `-machine'
5options you should pass to config.emacs to prepare to build Emacs for 5options you should pass to configure to prepare to build Emacs for
6that system/machine. 6that system/machine.
7 7
8These options tell Emacs which machine- and system-descriptive files 8These options tell Emacs which machine- and system-descriptive files
@@ -128,7 +128,7 @@ Xenix
128 If you want Emacs to work with Smail (installed as /usr/bin/smail) 128 If you want Emacs to work with Smail (installed as /usr/bin/smail)
129 then add the line #define SMAIL to config.h. 129 then add the line #define SMAIL to config.h.
130 130
131 The file share-lib/XENIX suggests some useful things to do to Xenix 131 The file etc/XENIX suggests some useful things to do to Xenix
132 to make the Emacs meta key work. 132 to make the Emacs meta key work.
133 133
134Machines: 134Machines:
@@ -668,7 +668,7 @@ Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3;
668 668
669 For SunOS release 4 on a Sun 3, use -machine=sun3 and 669 For SunOS release 4 on a Sun 3, use -machine=sun3 and
670 -opsystem=sunos4-0 or -opsystem=sunos4-1. 670 -opsystem=sunos4-0 or -opsystem=sunos4-1.
671 See the file share-lib/SUNBUG for how to solve problems caused by 671 See the file etc/SUNBUG for how to solve problems caused by
672 bugs in the "export" version of SunOS 4. 672 bugs in the "export" version of SunOS 4.
673 673
674 If you have trouble using open-network-stream, get the 674 If you have trouble using open-network-stream, get the
@@ -707,7 +707,7 @@ Sun 4 (-machine=sparc;
707 707
708 Use -opsystem=sunos4-0 for operating system version 4.0, and 708 Use -opsystem=sunos4-0 for operating system version 4.0, and
709 -opsystem=sunos4-1 for later versions. 709 -opsystem=sunos4-1 for later versions.
710 See the file share-lib/SUNBUG for how to solve problems caused by 710 See the file etc/SUNBUG for how to solve problems caused by
711 bugs in the "export" version of SunOS 4. 711 bugs in the "export" version of SunOS 4.
712 712
713Sun Roadrunner (-machine=sun386; -opsystem=sunos4-0 or -opsystem=sunos4-1) 713Sun Roadrunner (-machine=sun386; -opsystem=sunos4-0 or -opsystem=sunos4-1)
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index d1294788a9b..de766e6d609 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -96,7 +96,6 @@ main (argc, argv)
96{ 96{
97 char *inname, *outname; 97 char *inname, *outname;
98 int indesc, outdesc; 98 int indesc, outdesc;
99 char buf[1024];
100 int nread; 99 int nread;
101 100
102#ifndef MAIL_USE_FLOCK 101#ifndef MAIL_USE_FLOCK
@@ -182,8 +181,7 @@ main (argc, argv)
182 to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */ 181 to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */
183 182
184 lockname = concat (inname, ".lock", ""); 183 lockname = concat (inname, ".lock", "");
185 tempname = (char *) xmalloc (strlen (inname) + 20); 184 tempname = strcpy (xmalloc (strlen (inname)+1), inname);
186 strcpy (tempname, inname);
187 p = tempname + strlen (tempname); 185 p = tempname + strlen (tempname);
188 while (p != tempname && p[-1] != '/') 186 while (p != tempname && p[-1] != '/')
189 p--; 187 p--;
@@ -249,19 +247,23 @@ main (argc, argv)
249#endif 247#endif
250#endif /* MAIL_USE_FLOCK */ 248#endif /* MAIL_USE_FLOCK */
251 249
252 while (1) 250 {
253 { 251 char buf[1024];
254 nread = read (indesc, buf, sizeof buf); 252
255 if (nread != write (outdesc, buf, nread)) 253 while (1)
256 { 254 {
257 int saved_errno = errno; 255 nread = read (indesc, buf, sizeof buf);
258 unlink (outname); 256 if (nread != write (outdesc, buf, nread))
259 errno = saved_errno; 257 {
260 pfatal_with_name (outname); 258 int saved_errno = errno;
261 } 259 unlink (outname);
262 if (nread < sizeof buf) 260 errno = saved_errno;
263 break; 261 pfatal_with_name (outname);
264 } 262 }
263 if (nread < sizeof buf)
264 break;
265 }
266 }
265 267
266#ifdef BSD 268#ifdef BSD
267 if (fsync (outdesc) < 0) 269 if (fsync (outdesc) < 0)
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 633a65e76ba..a94f4d6cc25 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -1,6 +1,6 @@
1;;Load up standardly loaded Lisp files for Emacs. 1;;Load up standardly loaded Lisp files for Emacs.
2;; This is loaded into a bare Emacs to make a dumpable one. 2;; This is loaded into a bare Emacs to make a dumpable one.
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
@@ -94,8 +94,8 @@
94 (setq name (concat (downcase (substring name 0 (match-beginning 0))) 94 (setq name (concat (downcase (substring name 0 (match-beginning 0)))
95 "-" 95 "-"
96 (substring name (match-end 0))))) 96 (substring name (match-end 0)))))
97 (copy-file (expand-file-name "../share-lib/DOC") 97 (copy-file (expand-file-name "../etc/DOC")
98 (concat (expand-file-name "../share-lib/DOC-") name) 98 (concat (expand-file-name "../etc/DOC-") name)
99 t) 99 t)
100 (Snarf-documentation (concat "DOC-" name))) 100 (Snarf-documentation (concat "DOC-" name)))
101 (Snarf-documentation "DOC")) 101 (Snarf-documentation "DOC"))
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 24824dfc0f9..2a7f21d77eb 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -447,7 +447,7 @@ the user from the mailer."
447 (let (end 447 (let (end
448 (case-fold-search t)) 448 (case-fold-search t))
449 (goto-char (point-min)) 449 (goto-char (point-min))
450 (search-forward (concat "^" mail-header-separator "\n")) 450 (re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n"))
451 (setq end (match-beginning 0)) 451 (setq end (match-beginning 0))
452 (goto-char (point-min)) 452 (goto-char (point-min))
453 (if (re-search-forward (concat "^" (regexp-quote field) ":") end t) 453 (if (re-search-forward (concat "^" (regexp-quote field) ":") end t)
@@ -459,7 +459,8 @@ the user from the mailer."
459 (or soft 459 (or soft
460 (progn (goto-char end) 460 (progn (goto-char end)
461 (skip-chars-backward "\n") 461 (skip-chars-backward "\n")
462 (insert "\n" field ": "))) 462 (insert field ": \n")
463 (skip-chars-backward "\n")))
463 nil))) 464 nil)))
464 465
465(defun mail-text () 466(defun mail-text ()
diff --git a/src/config.in b/src/config.in
index f4d53973939..be3cc0dbda5 100644
--- a/src/config.in
+++ b/src/config.in
@@ -95,14 +95,14 @@ and this notice must be preserved on all copies. */
95 95
96/* The configuration script links system.h to a s- file that describes 96/* The configuration script links system.h to a s- file that describes
97 the system type you are using. 97 the system type you are using.
98 See the file ../share-lib/MACHINES for a list of systems and 98 See the file ../etc/MACHINES for a list of systems and
99 the names of the s- files to use for them. 99 the names of the s- files to use for them.
100 See s-template.h for documentation on writing s- files. */ 100 See s-template.h for documentation on writing s- files. */
101#include "@opsystem@" 101#include "@opsystem@"
102 102
103/* The configuration script links machine.h to a m- file that 103/* The configuration script links machine.h to a m- file that
104 describes the machine and system you use. 104 describes the machine and system you use.
105 See the file ../share-lib/MACHINES for a list of machines and 105 See the file ../etc/MACHINES for a list of machines and
106 the names of the m- files to use for them. 106 the names of the m- files to use for them.
107 See m-template.h for info on what m- files should define. */ 107 See m-template.h for info on what m- files should define. */
108#include "@machine@" 108#include "@machine@"
diff --git a/src/doc.c b/src/doc.c
index a907118c9ea..48f6c4df685 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -102,8 +102,8 @@ get_doc_string (filepos)
102} 102}
103 103
104DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0, 104DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0,
105 "Return the documentation string of FUNCTION. 105 "Return the documentation string of FUNCTION.\n\
106Unless a non-nil second argument is given, the 106Unless a non-nil second argument is given, the\n\
107string is passed through `substitute-command-keys'.") 107string is passed through `substitute-command-keys'.")
108 (fun1, raw) 108 (fun1, raw)
109 Lisp_Object fun1, raw; 109 Lisp_Object fun1, raw;
@@ -182,7 +182,7 @@ subcommands.)");
182DEFUN ("documentation-property", Fdocumentation_property, Sdocumentation_property, 2, 2, 0, 182DEFUN ("documentation-property", Fdocumentation_property, Sdocumentation_property, 2, 2, 0,
183 "Return the documentation string that is SYMBOL's PROP property.\n\ 183 "Return the documentation string that is SYMBOL's PROP property.\n\
184This is like `get', but it can refer to strings stored in the\n\ 184This is like `get', but it can refer to strings stored in the\n\
185`share-lib/DOC' file; and if the value is a string, it is passed through\n\ 185`etc/DOC' file; and if the value is a string, it is passed through\n\
186`substitute-command-keys'. A non-nil third argument avoids this\n\ 186`substitute-command-keys'. A non-nil third argument avoids this\n\
187translation.") 187translation.")
188 (sym, prop, raw) 188 (sym, prop, raw)
@@ -201,10 +201,10 @@ translation.")
201DEFUN ("Snarf-documentation", Fsnarf_documentation, Ssnarf_documentation, 201DEFUN ("Snarf-documentation", Fsnarf_documentation, Ssnarf_documentation,
202 1, 1, 0, 202 1, 1, 0,
203 "Used during Emacs initialization, before dumping runnable Emacs,\n\ 203 "Used during Emacs initialization, before dumping runnable Emacs,\n\
204to find pointers to doc strings stored in `share-lib/DOC...' and\n\ 204to find pointers to doc strings stored in `etc/DOC...' and\n\
205record them in function definitions.\n\ 205record them in function definitions.\n\
206One arg, FILENAME, a string which does not include a directory.\n\ 206One arg, FILENAME, a string which does not include a directory.\n\
207The file is found in `../share-lib' now; found in the `data-directory'\n\ 207The file is found in `../etc' now; found in the `data-directory'\n\
208when doc strings are referred to later in the dumped Emacs.") 208when doc strings are referred to later in the dumped Emacs.")
209 (filename) 209 (filename)
210 Lisp_Object filename; 210 Lisp_Object filename;
@@ -222,7 +222,7 @@ when doc strings are referred to later in the dumped Emacs.")
222 222
223#ifndef CANNOT_DUMP 223#ifndef CANNOT_DUMP
224 name = (char *) alloca (XSTRING (filename)->size + 14); 224 name = (char *) alloca (XSTRING (filename)->size + 14);
225 strcpy (name, "../share-lib/"); 225 strcpy (name, "../etc/");
226#else /* CANNOT_DUMP */ 226#else /* CANNOT_DUMP */
227 CHECK_STRING (Vdata_directory, 0); 227 CHECK_STRING (Vdata_directory, 0);
228 name = (char *) alloca (XSTRING (filename)->size + 228 name = (char *) alloca (XSTRING (filename)->size +
diff --git a/src/eval.c b/src/eval.c
index a030ff8b700..c4fcc808c5d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -624,6 +624,10 @@ Each VALUEFORM can refer to the symbols already bound by this VARLIST.")
624 elt = Fcar (varlist); 624 elt = Fcar (varlist);
625 if (XTYPE (elt) == Lisp_Symbol) 625 if (XTYPE (elt) == Lisp_Symbol)
626 specbind (elt, Qnil); 626 specbind (elt, Qnil);
627 else if (! NILP (Fcdr (Fcdr (elt))))
628 Fsignal (Qerror,
629 Fcons (build_string ("`let' bindings can have only one value-form"),
630 elt));
627 else 631 else
628 { 632 {
629 val = Feval (Fcar (Fcdr (elt))); 633 val = Feval (Fcar (Fcdr (elt)));
@@ -668,6 +672,10 @@ All the VALUEFORMs are evalled before any symbols are bound.")
668 elt = Fcar (varlist); 672 elt = Fcar (varlist);
669 if (XTYPE (elt) == Lisp_Symbol) 673 if (XTYPE (elt) == Lisp_Symbol)
670 temps [argnum++] = Qnil; 674 temps [argnum++] = Qnil;
675 else if (! NILP (Fcdr (Fcdr (elt))))
676 Fsignal (Qerror,
677 Fcons (build_string ("`let' bindings can have only one value-form"),
678 elt));
671 else 679 else
672 temps [argnum++] = Feval (Fcar (Fcdr (elt))); 680 temps [argnum++] = Feval (Fcar (Fcdr (elt)));
673 gcpro2.nvars = argnum; 681 gcpro2.nvars = argnum;
@@ -1499,8 +1507,11 @@ DEFUN ("eval", Feval, Seval, 1, 1, 0,
1499 goto done; 1507 goto done;
1500 1508
1501 default: 1509 default:
1502 error ("Ffuncall doesn't handle that number of arguments."); 1510 /* Someone has created a subr that takes more arguments than
1503 goto done; 1511 is supported by this code. We need to either rewrite the
1512 subr to use a different argument protocol, or add more
1513 cases to this switch. */
1514 abort ();
1504 } 1515 }
1505 } 1516 }
1506 if (XTYPE (fun) == Lisp_Compiled) 1517 if (XTYPE (fun) == Lisp_Compiled)
diff --git a/src/lread.c b/src/lread.c
index 2a8c47e9559..5a5c106c6e6 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1,5 +1,5 @@
1/* Lisp parsing and input streams. 1/* Lisp parsing and input streams.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -858,7 +858,7 @@ read1 (readcharfun)
858 858
859 /* If purifying, and string starts with \ newline, 859 /* If purifying, and string starts with \ newline,
860 return zero instead. This is for doc strings 860 return zero instead. This is for doc strings
861 that we are really going to find in share-lib/DOC.nn.nn */ 861 that we are really going to find in etc/DOC.nn.nn */
862 if (!NILP (Vpurify_flag) && NILP (Vdoc_file_name) && cancel) 862 if (!NILP (Vpurify_flag) && NILP (Vdoc_file_name) && cancel)
863 return make_number (0); 863 return make_number (0);
864 864
diff --git a/src/process.c b/src/process.c
index 018adf1b94e..1bdc27be91b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2794,7 +2794,7 @@ init_process ()
2794 proc_buffered_char[i] = -1; 2794 proc_buffered_char[i] = -1;
2795 } 2795 }
2796} 2796}
2797#ifdef 0 2797#if 0
2798DEFUN ("process-connection", Fprocess_connection, Sprocess_connection, 0, 1, 0, 2798DEFUN ("process-connection", Fprocess_connection, Sprocess_connection, 0, 1, 0,
2799 "Return the connection type of `PROCESS'. This can be nil (pipe),\n\ 2799 "Return the connection type of `PROCESS'. This can be nil (pipe),\n\
2800t or pty (pty) or stream (socket connection).") 2800t or pty (pty) or stream (socket connection).")