1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Andy Wingo 0fb81f95b0 add exception_on_error optional arg to primitive-load-path
* libguile/init.c (scm_load_startup_files): Use
  scm_c_primitive_load_path.

* libguile/load.c (scm_primitive_load_path): Add an optional arg,
  exception_on_error, which if #f will cause primitive-load-path to just
  return #f if no file is found. This is to help out the semantics of
  try-module-autoload. We can't just catch misc-error, because loading
  the file could raise any exception.
  (scm_c_primitive_load_path): Add the extra arg to
  scm_primitive_load_path.

* libguile/load.h: Adapt scm_primitive_load_path prototype.

* module/ice-9/boot-9.scm (try-module-autoload): Refactor slightly to be
  clearer.
2009-06-03 22:20:55 +02:00
..
ice-9 add exception_on_error optional arg to primitive-load-path 2009-06-03 22:20:55 +02:00
language update docs, clean up VM vestiges, macro docs, fix (/ a b c) 2009-05-24 13:09:01 +02:00
oop fix (oop goops) compilation for (language tree-il primitives) 2009-05-22 21:14:48 +02:00
rnrs Import R6RS bytevectors and I/O ports from Guile-R6RS-Libs 0.2. 2009-05-28 23:12:01 +02:00
scripts scripts take rest args 2009-04-20 18:20:01 +02:00
srfi Merge branch 'master' of git://git.savannah.gnu.org/guile 2009-06-02 09:35:02 -04:00
system compiled-file-name tries to put the .go in the %load-compiled-path 2009-06-03 22:20:55 +02:00
Makefile.am Merge branch 'syncase-in-boot-9' 2009-05-29 16:01:43 +02:00