aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-04-01 11:14:15 +0000
committerJim Blandy1992-04-01 11:14:15 +0000
commit08564963293aac2ea90a3dee54f48ded962238eb (patch)
tree4424e2ded321dd8606dabc4ef00a6f058108725b /src
parentca1d1d23251bc8f159d0131d345702aabf2dd078 (diff)
downloademacs-08564963293aac2ea90a3dee54f48ded962238eb.tar.gz
emacs-08564963293aac2ea90a3dee54f48ded962238eb.zip
*** empty log message ***
Diffstat (limited to 'src')
-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
5 files changed, 24 insertions, 13 deletions
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).")