use guile subrs
authorBT Templeton <bt@hcoop.net>
Thu, 22 Aug 2013 05:43:31 +0000 (01:43 -0400)
committerRobin Templeton <robin@terpri.org>
Sun, 19 Apr 2015 07:43:02 +0000 (03:43 -0400)
commit62947569a1716052da3e63d93a8289dd103a51e3
treee30f5270a66082047b1a76d2e486849f77cab7b7
parent738800001d32d8931b0c9548c5da2247bfed3d9a
use guile subrs

* src/data.c (Qspecial_operator): New variable.
  (CHECK_SUBR, Ftype_of, Fsubrp, Fsubr_arity, Finteractive_form):
  Update for new subr representation.

* src/emacs.c (main2): Call `syms_of_data' early.

* src/lisp.h (XSUBR, SUBRP): Remove. All callers changed.
  (DEFUN): Define subrs as Guile procedures.
  (functionp): Update for new subr representation.

* src/lread.c (defsubr): Update for new subr representation. Take
  relevant subr properties as direct arguments instead of accepting a
  `Lisp_Subr' struct; all callers changed.

* src/doc.c (Fdocumentation, store_function_docstring):
* src/eval.c (Fcommandp, eval_sub_1, Fapply, Ffuncall1):
* src/print.c (print_object):
* src/xmenu.c: Update for new subr representation.
src/data.c
src/doc.c
src/emacs.c
src/eval.c
src/lisp.h
src/lread.c
src/print.c
src/xmenu.c