aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Naggum1996-01-09 00:31:51 +0000
committerErik Naggum1996-01-09 00:31:51 +0000
commit79e8bfbf2736fd3d1121f6bf92d2f7e12b240494 (patch)
tree7290d73b932213360a82a7aa886805b692ce4b42 /src
parentc9aae259d512d22516c88663499612ab6f7d5594 (diff)
downloademacs-79e8bfbf2736fd3d1121f6bf92d2f7e12b240494.tar.gz
emacs-79e8bfbf2736fd3d1121f6bf92d2f7e12b240494.zip
(Fmacroexpand, Fthrow, Fbacktrace_frame): Harmonize arguments with
documentation.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/eval.c b/src/eval.c
index 5dbc7e8f375..76baf97f5fe 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -789,9 +789,9 @@ Otherwise, the macro is expanded and the expansion is considered\n\
789in place of FORM. When a non-macro-call results, it is returned.\n\n\ 789in place of FORM. When a non-macro-call results, it is returned.\n\n\
790The second optional arg ENVIRONMENT species an environment of macro\n\ 790The second optional arg ENVIRONMENT species an environment of macro\n\
791definitions to shadow the loaded ones for use in file byte-compilation.") 791definitions to shadow the loaded ones for use in file byte-compilation.")
792 (form, env) 792 (form, environment)
793 register Lisp_Object form; 793 register Lisp_Object form;
794 Lisp_Object env; 794 Lisp_Object environment;
795{ 795{
796 /* With cleanups from Hallvard Furuseth. */ 796 /* With cleanups from Hallvard Furuseth. */
797 register Lisp_Object expander, sym, def, tem; 797 register Lisp_Object expander, sym, def, tem;
@@ -811,7 +811,7 @@ definitions to shadow the loaded ones for use in file byte-compilation.")
811 { 811 {
812 QUIT; 812 QUIT;
813 sym = def; 813 sym = def;
814 tem = Fassq (sym, env); 814 tem = Fassq (sym, environment);
815 if (NILP (tem)) 815 if (NILP (tem))
816 { 816 {
817 def = XSYMBOL (sym)->function; 817 def = XSYMBOL (sym)->function;
@@ -820,11 +820,11 @@ definitions to shadow the loaded ones for use in file byte-compilation.")
820 } 820 }
821 break; 821 break;
822 } 822 }
823 /* Right now TEM is the result from SYM in ENV, 823 /* Right now TEM is the result from SYM in ENVIRONMENT,
824 and if TEM is nil then DEF is SYM's function definition. */ 824 and if TEM is nil then DEF is SYM's function definition. */
825 if (NILP (tem)) 825 if (NILP (tem))
826 { 826 {
827 /* SYM is not mentioned in ENV. 827 /* SYM is not mentioned in ENVIRONMENT.
828 Look at its function definition. */ 828 Look at its function definition. */
829 if (EQ (def, Qunbound) || !CONSP (def)) 829 if (EQ (def, Qunbound) || !CONSP (def))
830 /* Not defined or definition not suitable */ 830 /* Not defined or definition not suitable */
@@ -960,8 +960,8 @@ unwind_to_catch (catch, value)
960DEFUN ("throw", Fthrow, Sthrow, 2, 2, 0, 960DEFUN ("throw", Fthrow, Sthrow, 2, 2, 0,
961 "(throw TAG VALUE): throw to the catch for TAG and return VALUE from it.\n\ 961 "(throw TAG VALUE): throw to the catch for TAG and return VALUE from it.\n\
962Both TAG and VALUE are evalled.") 962Both TAG and VALUE are evalled.")
963 (tag, val) 963 (tag, value)
964 register Lisp_Object tag, val; 964 register Lisp_Object tag, value;
965{ 965{
966 register struct catchtag *c; 966 register struct catchtag *c;
967 967
@@ -971,9 +971,9 @@ Both TAG and VALUE are evalled.")
971 for (c = catchlist; c; c = c->next) 971 for (c = catchlist; c; c = c->next)
972 { 972 {
973 if (EQ (c->tag, tag)) 973 if (EQ (c->tag, tag))
974 unwind_to_catch (c, val); 974 unwind_to_catch (c, value);
975 } 975 }
976 tag = Fsignal (Qno_catch, Fcons (tag, Fcons (val, Qnil))); 976 tag = Fsignal (Qno_catch, Fcons (tag, Fcons (value, Qnil)));
977 } 977 }
978} 978}
979 979
@@ -2756,7 +2756,7 @@ Output stream used is value of `standard-output'.")
2756} 2756}
2757 2757
2758DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, "", 2758DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, "",
2759 "Return the function and arguments N frames up from current execution point.\n\ 2759 "Return the function and arguments NFRAMES up from current execution point.\n\
2760If that frame has not evaluated the arguments yet (or is a special form),\n\ 2760If that frame has not evaluated the arguments yet (or is a special form),\n\
2761the value is (nil FUNCTION ARG-FORMS...).\n\ 2761the value is (nil FUNCTION ARG-FORMS...).\n\
2762If that frame has evaluated its arguments and called its function already,\n\ 2762If that frame has evaluated its arguments and called its function already,\n\
@@ -2764,7 +2764,7 @@ the value is (t FUNCTION ARG-VALUES...).\n\
2764A &rest arg is represented as the tail of the list ARG-VALUES.\n\ 2764A &rest arg is represented as the tail of the list ARG-VALUES.\n\
2765FUNCTION is whatever was supplied as car of evaluated list,\n\ 2765FUNCTION is whatever was supplied as car of evaluated list,\n\
2766or a lambda expression for macro calls.\n\ 2766or a lambda expression for macro calls.\n\
2767If N is more than the number of frames, the value is nil.") 2767If NFRAMES is more than the number of frames, the value is nil.")
2768 (nframes) 2768 (nframes)
2769 Lisp_Object nframes; 2769 Lisp_Object nframes;
2770{ 2770{