mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
leap of faith: (ice-9 syncase) in psyntax-pp.scm -> (guile)
* module/ice-9/psyntax-pp.scm: Manually switch psyntax-pp over to (guile) from (ice-9 syncase). Heh heh.
This commit is contained in:
parent
131826039c
commit
64e5d08d3e
3 changed files with 25 additions and 26 deletions
|
@ -169,8 +169,6 @@
|
||||||
(define-public (set-readline-read-hook! h)
|
(define-public (set-readline-read-hook! h)
|
||||||
(set! read-hook h))
|
(set! read-hook h))
|
||||||
|
|
||||||
(if (provided? 'regex)
|
|
||||||
(begin
|
|
||||||
(define-public apropos-completion-function
|
(define-public apropos-completion-function
|
||||||
(let ((completions '()))
|
(let ((completions '()))
|
||||||
(lambda (text cont?)
|
(lambda (text cont?)
|
||||||
|
@ -185,8 +183,8 @@
|
||||||
(begin (set! completions (cdr completions))
|
(begin (set! completions (cdr completions))
|
||||||
retval))))))
|
retval))))))
|
||||||
|
|
||||||
(set! *readline-completion-function* apropos-completion-function)
|
(if (provided? 'regex)
|
||||||
))
|
(set! *readline-completion-function* apropos-completion-function))
|
||||||
|
|
||||||
(define-public (with-readline-completion-function completer thunk)
|
(define-public (with-readline-completion-function completer thunk)
|
||||||
"With @var{completer} as readline completion function, call @var{thunk}."
|
"With @var{completer} as readline completion function, call @var{thunk}."
|
||||||
|
|
|
@ -2162,6 +2162,7 @@ module '(ice-9 q) '(make-q q-length))}."
|
||||||
(and (not (autoload-done-or-in-progress? dir-hint name))
|
(and (not (autoload-done-or-in-progress? dir-hint name))
|
||||||
(let ((didit #f))
|
(let ((didit #f))
|
||||||
(define (load-file proc file)
|
(define (load-file proc file)
|
||||||
|
(pk 'loading proc file)
|
||||||
(save-module-excursion (lambda () (proc file)))
|
(save-module-excursion (lambda () (proc file)))
|
||||||
(set! didit #t))
|
(set! didit #t))
|
||||||
(dynamic-wind
|
(dynamic-wind
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue