[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.1-131-gc245d

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.1-131-gc245d16
Date: Fri, 17 Jun 2011 17:57:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  c245d16a5b18afdb68356f8343e6af7b3c32935b (commit)
      from  b88fef5519fab447c6c5405928c248f9f0966148 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c245d16a5b18afdb68356f8343e6af7b3c32935b
Author: Andy Wingo <address@hidden>
Date:   Fri Jun 17 19:57:24 2011 +0200

    current-language really defaults to Scheme.
    * module/system/base/language.scm (current-language): Default to 'scheme
      here, rather than relying on *current-language* always being bound.
    Thanks to 亚光唐 <address@hidden> for the report.


Summary of changes:
 module/system/base/language.scm |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/module/system/base/language.scm b/module/system/base/language.scm
index 31e7708..10d2d74 100644
--- a/module/system/base/language.scm
+++ b/module/system/base/language.scm
@@ -1,6 +1,6 @@
 ;;; Multi-language support
-;; Copyright (C) 2001, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2009, 2010, 2011 Free Software Foundation, Inc.
 ;; This library is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU Lesser General Public
@@ -112,7 +112,6 @@
 (define *current-language* (make-fluid))
-(fluid-set! *current-language* 'scheme)
 (define (current-language)
-  (fluid-ref *current-language*))
+  (or (fluid-ref *current-language*) 'scheme))

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]