mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Use default value for make-fluid in Scheme files
* module/ice-9/boot-9.scm (%exception-handler) (%running-exception-handlers, read-eval?, *repl-stack*) (make-mutable-parameter): * module/ice-9/getopt-long.scm (%program-name): * module/language/elisp/runtime.scm (built-in-macro, defspecial): * module/srfi/srfi-39.scm (make-parameter/helper): * module/system/base/language.scm (*current-language*): * module/system/base/message.scm (*current-warning-port*): (*current-warning-prefix*): * module/system/base/target.scm (%target-type, %target-endianness) (%target-word-size): * module/texinfo/plain-text.scm (*indent*, *itemizer*): * benchmark-suite/lib.scm (prefix-fluid): * test-suite/lib.scm (prefix-fluid): Give fluids a useful default value.
This commit is contained in:
parent
c81c2ad3a5
commit
9447207f0c
10 changed files with 65 additions and 86 deletions
|
@ -1,5 +1,5 @@
|
|||
;;;; benchmark-suite/lib.scm --- generic support for benchmarking
|
||||
;;;; Copyright (C) 2002, 2006 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This program is free software; you can redistribute it and/or
|
||||
;;;; modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -348,8 +348,7 @@
|
|||
(append (current-benchmark-prefix) (list name)))
|
||||
|
||||
;;; A fluid containing the current benchmark prefix, as a list.
|
||||
(define prefix-fluid (make-fluid))
|
||||
(fluid-set! prefix-fluid '())
|
||||
(define prefix-fluid (make-fluid '()))
|
||||
(define (current-benchmark-prefix)
|
||||
(fluid-ref prefix-fluid))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue