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
fe4cd268
Commit
fe4cd268
authored
Oct 14, 2007
by
Juanma Barranquero
Browse files
(Ffset): Save autoload of the function being set.
parent
9ac66b45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
src/ChangeLog
src/ChangeLog
+7
-1
src/data.c
src/data.c
+11
-3
No files found.
src/ChangeLog
View file @
fe4cd268
2007-10-14 Juanma Barranquero <lekktu@gmail.com>
* eval.c (do_autoload): Don't save autoloads.
* data.c (Ffset): Save autoload of the function being set.
2007-10-07 John Paul Wallington <jpw@pobox.com>
* xfns.c (x_create_tip_frame): Set the `display-type' frame
...
...
@@ -63,7 +69,7 @@
2007-10-01 Juanma Barranquero <lekktu@gmail.com>
* lread.c (Fload): Fix typo in docstring.
* lread.c (Fload): Fix typo in docstring.
2007-09-29 Juri Linkov <juri@jurta.org>
...
...
src/data.c
View file @
fe4cd268
...
...
@@ -662,12 +662,20 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
(
symbol
,
definition
)
register
Lisp_Object
symbol
,
definition
;
{
register
Lisp_Object
function
;
CHECK_SYMBOL
(
symbol
);
if
(
NILP
(
symbol
)
||
EQ
(
symbol
,
Qt
))
xsignal1
(
Qsetting_constant
,
symbol
);
if
(
!
NILP
(
Vautoload_queue
)
&&
!
EQ
(
XSYMBOL
(
symbol
)
->
function
,
Qunbound
))
Vautoload_queue
=
Fcons
(
Fcons
(
symbol
,
XSYMBOL
(
symbol
)
->
function
),
Vautoload_queue
);
function
=
XSYMBOL
(
symbol
)
->
function
;
if
(
!
NILP
(
Vautoload_queue
)
&&
!
EQ
(
function
,
Qunbound
))
Vautoload_queue
=
Fcons
(
Fcons
(
symbol
,
function
),
Vautoload_queue
);
if
(
CONSP
(
function
)
&&
EQ
(
XCAR
(
function
),
Qautoload
))
Fput
(
symbol
,
Qautoload
,
XCDR
(
function
));
XSYMBOL
(
symbol
)
->
function
=
definition
;
/* Handle automatic advice activation */
if
(
CONSP
(
XSYMBOL
(
symbol
)
->
plist
)
&&
!
NILP
(
Fget
(
symbol
,
Qad_advice_info
)))
...
...
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