mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(app modules) -> (%app modules)
* module/ice-9/debugging/breakpoints.scm (module-if-already-loaded): (all-loaded-modules): * module/oop/goops/stklos.scm: Fix instances of (app modules) to be (%app modules).
This commit is contained in:
parent
53ab624703
commit
30ce621c5a
2 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
;;;; (ice-9 debugging breakpoints) -- practical breakpoints
|
||||
|
||||
;;; Copyright (C) 2005 Neil Jerram
|
||||
;;; Copyright (C) 2005, 2010 Neil Jerram
|
||||
;;;
|
||||
;;;; This library is free software; you can redistribute it and/or
|
||||
;;;; modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -253,7 +253,7 @@
|
|||
;; If a module named MODULE-NAME has been loaded, return its module
|
||||
;; object; otherwise return #f.
|
||||
(define (module-if-already-loaded module-name)
|
||||
(nested-ref the-root-module (append '(app modules) module-name)))
|
||||
(nested-ref the-root-module (append '(%app modules) module-name)))
|
||||
|
||||
;; Construct and return a list of all loaded modules.
|
||||
(define (all-loaded-modules)
|
||||
|
@ -290,7 +290,7 @@
|
|||
ds)))
|
||||
;; Add submodules recursively, starting from the root of all
|
||||
;; modules.
|
||||
(add-submodules-of '(app modules))
|
||||
(add-submodules-of '(%app modules))
|
||||
;; Return the result.
|
||||
known-modules)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;;; Copyright (C) 1999,2002, 2006 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 1999,2002, 2006, 2010 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
|
||||
|
@ -35,7 +35,7 @@
|
|||
;; Export all bindings that are exported from (oop goops)...
|
||||
(module-for-each (lambda (sym var)
|
||||
(module-add! %module-public-interface sym var))
|
||||
(nested-ref the-root-module '(app modules oop goops
|
||||
(nested-ref the-root-module '(%app modules oop goops
|
||||
%module-public-interface)))
|
||||
|
||||
;; ...but replace the following bindings:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue