Changeset 39043 in project


Ignore:
Timestamp:
09/18/20 15:10:52 (6 weeks ago)
Author:
Kon Lovett
Message:

import csi when csi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/5/apropos/trunk/apropos-csi.scm

    r38992 r39043  
    2121(import (chicken port))
    2222(import (only (srfi 1) first cons* reverse!))
    23 ;Warning: the following extensions are not currently installed: chicken.csi
    24 (import (only (chicken csi) toplevel-command))
    2523(import apropos-api)
    26 
    27 ;; Bug Support
    28 
    29 (define-syntax apropos-toplevel-command
    30   (syntax-rules ()
    31     ((apropos-toplevel-command arg0 ...)
    32       (chicken.csi#toplevel-command arg0 ...) ) ) )
    3324
    3425;; Support
     
    222213
    223214(when (feature? csi:)
    224   (apropos-toplevel-command 'a csi-apropos-command CSI-HELP) )
     215  ;; Load csi library at runtime here in Chicken 5 only after we confirm
     216  ;; csi is running. Otherwise chicken.csi load fails.
     217  (import (only (chicken csi) toplevel-command))
     218  (toplevel-command 'a csi-apropos-command CSI-HELP) )
    225219
    226220) ;module apropos-csi
Note: See TracChangeset for help on using the changeset viewer.