diff options
| author | Richard M. Stallman | 1996-12-26 22:41:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-12-26 22:41:42 +0000 |
| commit | 73e0d965cc16901f662e1c4e23f79c9b68a636a7 (patch) | |
| tree | ec187d00bb392b869ab8c369986a5c3920c44f2d /src/data.c | |
| parent | baa573a3791927e88fad979ac8ffe34773fe7e93 (diff) | |
| download | emacs-73e0d965cc16901f662e1c4e23f79c9b68a636a7.tar.gz emacs-73e0d965cc16901f662e1c4e23f79c9b68a636a7.zip | |
(Fdefalias): Change argument name and doc string.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/data.c b/src/data.c index 4357fa79c0a..e64dcf800b3 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -646,24 +646,24 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0, | |||
| 646 | } | 646 | } |
| 647 | 647 | ||
| 648 | DEFUN ("defalias", Fdefalias, Sdefalias, 2, 2, 0, | 648 | DEFUN ("defalias", Fdefalias, Sdefalias, 2, 2, 0, |
| 649 | "Set SYMBOL's function definition to NEWDEF, and return NEWDEF.\n\ | 649 | "Set SYMBOL's function definition to DEFINITION, and return DEFINITION.\n\ |
| 650 | Associates the function with the current load file, if any.") | 650 | Associates the function with the current load file, if any.") |
| 651 | (symbol, newdef) | 651 | (symbol, definition) |
| 652 | register Lisp_Object symbol, newdef; | 652 | register Lisp_Object symbol, definition; |
| 653 | { | 653 | { |
| 654 | CHECK_SYMBOL (symbol, 0); | 654 | CHECK_SYMBOL (symbol, 0); |
| 655 | if (!NILP (Vautoload_queue) && !EQ (XSYMBOL (symbol)->function, Qunbound)) | 655 | if (!NILP (Vautoload_queue) && !EQ (XSYMBOL (symbol)->function, Qunbound)) |
| 656 | Vautoload_queue = Fcons (Fcons (symbol, XSYMBOL (symbol)->function), | 656 | Vautoload_queue = Fcons (Fcons (symbol, XSYMBOL (symbol)->function), |
| 657 | Vautoload_queue); | 657 | Vautoload_queue); |
| 658 | XSYMBOL (symbol)->function = newdef; | 658 | XSYMBOL (symbol)->function = definition; |
| 659 | /* Handle automatic advice activation */ | 659 | /* Handle automatic advice activation */ |
| 660 | if (CONSP (XSYMBOL (symbol)->plist) && !NILP (Fget (symbol, Qad_advice_info))) | 660 | if (CONSP (XSYMBOL (symbol)->plist) && !NILP (Fget (symbol, Qad_advice_info))) |
| 661 | { | 661 | { |
| 662 | call2 (Qad_activate, symbol, Qnil); | 662 | call2 (Qad_activate, symbol, Qnil); |
| 663 | newdef = XSYMBOL (symbol)->function; | 663 | definition = XSYMBOL (symbol)->function; |
| 664 | } | 664 | } |
| 665 | LOADHIST_ATTACH (symbol); | 665 | LOADHIST_ATTACH (symbol); |
| 666 | return newdef; | 666 | return definition; |
| 667 | } | 667 | } |
| 668 | 668 | ||
| 669 | DEFUN ("setplist", Fsetplist, Ssetplist, 2, 2, 0, | 669 | DEFUN ("setplist", Fsetplist, Ssetplist, 2, 2, 0, |