Merge remote-tracking branch 'origin/stable-2.0'
[bpt/guile.git] / module / language / elisp / runtime / function-slot.scm
CommitLineData
eb80072d
LC
1;;; Guile Emacs Lisp
2
c983a199 3;;; Copyright (C) 2009, 2010 Free Software Foundation, Inc.
eb80072d
LC
4;;;
5;;; This library is free software; you can redistribute it and/or
6;;; modify it under the terms of the GNU Lesser General Public
7;;; License as published by the Free Software Foundation; either
8;;; version 3 of the License, or (at your option) any later version.
9;;;
10;;; This library is distributed in the hope that it will be useful,
11;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13;;; Lesser General Public License for more details.
14;;;
15;;; You should have received a copy of the GNU Lesser General Public
16;;; License along with this library; if not, write to the Free Software
17;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
344927c3 18
1e018f6c 19(define-module (language elisp runtime function-slot)
44ae163d
BT
20 #:use-module ((language elisp compile-tree-il)
21 #:select
22 ((compile-progn . progn)
80687f2e 23 (compile-eval-when-compile . eval-when-compile)
44ae163d
BT
24 (compile-if . if)
25 (compile-defconst . defconst)
26 (compile-defvar . defvar)
27 (compile-setq . setq)
28 (compile-let . let)
44ae163d 29 (compile-flet . flet)
1c2f9636 30 (compile-labels . labels)
44ae163d 31 (compile-let* . let*)
44ae163d
BT
32 (compile-guile-ref . guile-ref)
33 (compile-guile-primitive . guile-primitive)
44ae163d
BT
34 (compile-function . function)
35 (compile-defun . defun)
36 (compile-defmacro . defmacro)
0dbfdeef 37 (#{compile-`}# . #{`}#)
03e00c5c 38 (compile-quote . quote)
d273b826 39 (compile-%funcall . %funcall)
03e00c5c
BT
40 (compile-%set-lexical-binding-mode
41 . %set-lexical-binding-mode)))
8295b7c4 42 #:duplicates (last)
44ae163d
BT
43 ;; special operators
44 #:re-export (progn
80687f2e 45 eval-when-compile
44ae163d
BT
46 if
47 defconst
48 defvar
49 setq
50 let
44ae163d 51 flet
1c2f9636 52 labels
44ae163d 53 let*
44ae163d
BT
54 guile-ref
55 guile-primitive
44ae163d
BT
56 function
57 defun
58 defmacro
0dbfdeef 59 #{`}#
03e00c5c 60 quote
d273b826 61 %funcall
03e00c5c 62 %set-lexical-binding-mode)
ed5276f8 63 #:pure)