Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2b6cae0c
Commit
2b6cae0c
authored
Oct 18, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(read1): Handle #' as prefix.
(Qfunction): New variable. (syms_of_lread): Set up Qfunction.
parent
3eeb7b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/lread.c
src/lread.c
+7
-1
No files found.
src/lread.c
View file @
2b6cae0c
...
...
@@ -68,7 +68,7 @@ extern int errno;
Lisp_Object
Qread_char
,
Qget_file_char
,
Qstandard_input
,
Qcurrent_load_list
;
Lisp_Object
Qvariable_documentation
,
Vvalues
,
Vstandard_input
,
Vafter_load_alist
;
Lisp_Object
Qascii_character
,
Qload
,
Qload_file_name
;
Lisp_Object
Qbackquote
,
Qcomma
,
Qcomma_at
,
Qcomma_dot
;
Lisp_Object
Qbackquote
,
Qcomma
,
Qcomma_at
,
Qcomma_dot
,
Qfunction
;
extern
Lisp_Object
Qevent_symbol_element_mask
;
...
...
@@ -1317,6 +1317,9 @@ read1 (readcharfun, pch, first_in_list)
}
if
(
c
==
'$'
)
return
Vload_file_name
;
if
(
c
==
'\''
)
return
Fcons
(
Qfunction
,
Fcons
(
read0
(
readcharfun
),
Qnil
));
UNREAD
(
c
);
Fsignal
(
Qinvalid_read_syntax
,
Fcons
(
make_string
(
"#"
,
1
),
Qnil
));
...
...
@@ -2434,6 +2437,9 @@ This is useful when the file being loaded is a temporary copy.");
Qascii_character
=
intern
(
"ascii-character"
);
staticpro
(
&
Qascii_character
);
Qfunction
=
intern
(
"function"
);
staticpro
(
&
Qfunction
);
Qload
=
intern
(
"load"
);
staticpro
(
&
Qload
);
...
...
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