mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
whitespace changes
* module/language/elisp/bindings.scm: * module/language/elisp/compile-tree-il.scm: * module/language/elisp/lexer.scm: * module/language/elisp/parser.scm: * module/language/elisp/runtime.scm: * module/language/elisp/runtime/function-slot.scm: * module/language/elisp/runtime/macro-slot.scm: Ensure that all top-level forms and comments are separated by exactly one newline. Remove blank lines in most procedure bodies. Delete trailing whitespace. Signed-off-by: Andy Wingo <wingo@pobox.com>
This commit is contained in:
parent
9c933e1d3f
commit
abcf4a9e1d
8 changed files with 75 additions and 119 deletions
|
@ -22,36 +22,31 @@
|
|||
#:export (void
|
||||
nil-value t-value
|
||||
value-slot-module function-slot-module
|
||||
|
||||
elisp-bool
|
||||
|
||||
ensure-fluid! reference-variable reference-variable-with-check
|
||||
set-variable!
|
||||
|
||||
runtime-error macro-error)
|
||||
#:export-syntax (built-in-func built-in-macro prim))
|
||||
|
||||
; This module provides runtime support for the Elisp front-end.
|
||||
|
||||
|
||||
; The reserved value to mean (when eq?) void.
|
||||
|
||||
(define void (list 42))
|
||||
|
||||
|
||||
; Values for t and nil. (FIXME remove this abstraction)
|
||||
|
||||
(define nil-value #nil)
|
||||
(define t-value #t)
|
||||
|
||||
(define t-value #t)
|
||||
|
||||
; Modules for the binding slots.
|
||||
; Note: Naming those value-slot and/or function-slot clashes with the
|
||||
; submodules of these names!
|
||||
|
||||
(define value-slot-module '(language elisp runtime value-slot))
|
||||
(define function-slot-module '(language elisp runtime function-slot))
|
||||
|
||||
(define function-slot-module '(language elisp runtime function-slot))
|
||||
|
||||
; Report an error during macro compilation, that means some special compilation
|
||||
; (syntax) error; or report a simple runtime-error from a built-in function.
|
||||
|
@ -61,7 +56,6 @@
|
|||
|
||||
(define runtime-error macro-error)
|
||||
|
||||
|
||||
; Convert a scheme boolean to Elisp.
|
||||
|
||||
(define (elisp-bool b)
|
||||
|
@ -69,7 +63,6 @@
|
|||
t-value
|
||||
nil-value))
|
||||
|
||||
|
||||
; Routines for access to elisp dynamically bound symbols.
|
||||
; This is used for runtime access using functions like symbol-value or set,
|
||||
; where the symbol accessed might not be known at compile-time.
|
||||
|
@ -101,7 +94,6 @@
|
|||
(fluid-set! (module-ref resolved sym) value)
|
||||
value))
|
||||
|
||||
|
||||
; Define a predefined function or predefined macro for use in the function-slot
|
||||
; and macro-slot modules, respectively.
|
||||
|
||||
|
@ -117,7 +109,6 @@
|
|||
((_ name value)
|
||||
(define-public name value))))
|
||||
|
||||
|
||||
; Call a guile-primitive that may be rebound for elisp and thus needs absolute
|
||||
; addressing.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue