diff options
| author | Juanma Barranquero | 2005-06-23 16:10:06 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-23 16:10:06 +0000 |
| commit | 6fa2b890d4f182a40fed28f9b99a7b82b33f516d (patch) | |
| tree | 21857af1241b68638f7777b5f3a3971654226784 /src | |
| parent | b5251fe73ae82d411ac1af6a6f4daa85508a5198 (diff) | |
| download | emacs-6fa2b890d4f182a40fed28f9b99a7b82b33f516d.tar.gz emacs-6fa2b890d4f182a40fed28f9b99a7b82b33f516d.zip | |
(read_vector): Follow error conventions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c index b0262ebea79..9317933013e 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -2845,7 +2845,7 @@ read_vector (readcharfun, bytecodeflag) | |||
| 2845 | if (i == COMPILED_BYTECODE) | 2845 | if (i == COMPILED_BYTECODE) |
| 2846 | { | 2846 | { |
| 2847 | if (!STRINGP (item)) | 2847 | if (!STRINGP (item)) |
| 2848 | error ("invalid byte code"); | 2848 | error ("Invalid byte code"); |
| 2849 | 2849 | ||
| 2850 | /* Delay handling the bytecode slot until we know whether | 2850 | /* Delay handling the bytecode slot until we know whether |
| 2851 | it is lazily-loaded (we can tell by whether the | 2851 | it is lazily-loaded (we can tell by whether the |
| @@ -2867,7 +2867,7 @@ read_vector (readcharfun, bytecodeflag) | |||
| 2867 | 2867 | ||
| 2868 | item = Fread (bytestr); | 2868 | item = Fread (bytestr); |
| 2869 | if (!CONSP (item)) | 2869 | if (!CONSP (item)) |
| 2870 | error ("invalid byte code"); | 2870 | error ("Invalid byte code"); |
| 2871 | 2871 | ||
| 2872 | otem = XCONS (item); | 2872 | otem = XCONS (item); |
| 2873 | bytestr = XCAR (item); | 2873 | bytestr = XCAR (item); |