mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
*** empty log message ***
This commit is contained in:
parent
bfb612994f
commit
200f684ed7
@ -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 ';':
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user