Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
200f684e
Commit
200f684e
authored
Aug 04, 1991
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
bfb61299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/lread.c
src/lread.c
+9
-0
src/print.c
src/print.c
+1
-3
No files found.
src/lread.c
View file @
200f684e
...
...
@@ -791,6 +791,15 @@ read1 (readcharfun)
}
case
'#'
:
c
=
READCHAR
;
if
(
c
==
'['
)
{
/* Accept compiled functions at read-time so that we don't have to
build them using function calls. */
Lisp_Object
tmp
=
read_vector
(
readcharfun
);
return
Fmake_byte_code
(
XVECTOR
(
tmp
)
->
size
,
XVECTOR
(
tmp
)
->
contents
);
}
UNREAD
(
c
);
return
Fsignal
(
Qinvalid_read_syntax
,
Fcons
(
make_string
(
"#"
,
1
),
Qnil
));
case
';'
:
...
...
src/print.c
View file @
200f684e
...
...
@@ -805,7 +805,7 @@ print (obj, printcharfun, escapeflag)
break
;
case
Lisp_Compiled
:
strout
(
"#
<byte-code
"
,
-
1
,
printcharfun
);
strout
(
"#"
,
-
1
,
printcharfun
);
case
Lisp_Vector
:
PRINTCHAR
(
'['
);
{
...
...
@@ -819,8 +819,6 @@ print (obj, printcharfun, escapeflag)
}
}
PRINTCHAR
(
']'
);
if
(
XTYPE
(
obj
)
==
Lisp_Compiled
)
PRINTCHAR
(
'>'
);
break
;
#ifndef standalone
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment