Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f58e9f8c
Commit
f58e9f8c
authored
Dec 07, 2002
by
Richard M. Stallman
Browse files
(Fdefun, Fdefmacro): Record in load-history redefining an autoload.
parent
894f6538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/eval.c
src/eval.c
+6
-0
No files found.
src/eval.c
View file @
f58e9f8c
...
...
@@ -637,6 +637,9 @@ usage: (defun NAME ARGLIST [DOCSTRING] BODY...) */)
defn
=
Fcons
(
Qlambda
,
Fcdr
(
args
));
if
(
!
NILP
(
Vpurify_flag
))
defn
=
Fpurecopy
(
defn
);
if
(
CONSP
(
XSYMBOL
(
fn_name
)
->
function
)
&&
EQ
(
XCAR
(
XSYMBOL
(
fn_name
)
->
function
),
Qautoload
))
LOADHIST_ATTACH
(
Fcons
(
Qt
,
fn_name
));
Ffset
(
fn_name
,
defn
);
LOADHIST_ATTACH
(
fn_name
);
return
fn_name
;
...
...
@@ -702,6 +705,9 @@ usage: (defmacro NAME ARGLIST [DOCSTRING] [DECL] BODY...) */)
if
(
!
NILP
(
Vpurify_flag
))
defn
=
Fpurecopy
(
defn
);
if
(
CONSP
(
XSYMBOL
(
fn_name
)
->
function
)
&&
EQ
(
XCAR
(
XSYMBOL
(
fn_name
)
->
function
),
Qautoload
))
LOADHIST_ATTACH
(
Fcons
(
Qt
,
fn_name
));
Ffset
(
fn_name
,
defn
);
LOADHIST_ATTACH
(
fn_name
);
return
fn_name
;
...
...
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