[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-chicken 5cc0dd2 052/102: Fix for #127
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-chicken 5cc0dd2 052/102: Fix for #127 |
Date: |
Sun, 1 Aug 2021 18:26:54 -0400 (EDT) |
branch: elpa/geiser-chicken
commit 5cc0dd2a3db0f4ee7802cfbd41482db5225123d9
Author: Dan Leslie <dan@ironoxide.ca>
Commit: Dan Leslie <dan@ironoxide.ca>
Fix for #127
---
geiser/emacs.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/geiser/emacs.scm b/geiser/emacs.scm
index b4274cf..313155c 100644
--- a/geiser/emacs.scm
+++ b/geiser/emacs.scm
@@ -1,3 +1,5 @@
+;; -*- geiser-scheme-implementation: 'chicken
+
;; Copyright (C) 2015 Daniel J Leslie
;; This program is free software; you can redistribute it and/or
@@ -547,7 +549,7 @@
(define (geiser-load-file file)
(let* ((file (if (symbol? file) (symbol->string file) file))
- (found-file (geiser-find-file #f file)))
+ (found-file (geiser-find-file file)))
(call-with-result #f
(lambda ()
(when found-file
@@ -638,14 +640,15 @@
(define geiser-load-paths (make-parameter '("" ".")))
(define (geiser-find-file file . rest)
- (let ((paths (geiser-load-paths)))
- (define (try-find file paths)
- (cond
- ((null? paths) #f)
- ((file-exists? (string-append (car paths) file))
- (string-append (car paths) file))
- (else (try-find file (cdr paths)))))
- (try-find file paths)))
+ (when file
+ (let ((paths (geiser-load-paths)))
+ (define (try-find file paths)
+ (cond
+ ((null? paths) #f)
+ ((file-exists? (string-append (car paths) file))
+ (string-append (car paths) file))
+ (else (try-find file (cdr paths)))))
+ (try-find file paths))))
(define (geiser-add-to-load-path directory . rest)
(let* ((directory (if (symbol? directory)
- [nongnu] elpa/geiser-chicken 8bd8b5c 031/102: Converts toplevel methods to prefixed methods, (continued)
- [nongnu] elpa/geiser-chicken 8bd8b5c 031/102: Converts toplevel methods to prefixed methods, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken a4c49f2 033/102: Turn off debug log, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken bcd1a09 037/102: Use OS-specific quotes when asking for versions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 9b9b180 039/102: Fixes for Literals, Errors and Modules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 935a114 040/102: Allows redefinition of modules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 95d19aa 044/102: Minor changes to help with debugging completions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 2098767 046/102: Quoting binary on version checks (issue #117), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 42b18d5 045/102: Minor cleanup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 1ff0274 048/102: Performance Improvements, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 0bcd595 050/102: Fuzzy matching for Chicken AutoDoc and Completions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 5cc0dd2 052/102: Fix for #127,
Philip Kaludercic <=
- [nongnu] elpa/geiser-chicken 402e1bc 054/102: Minor typo, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken fc0c8e6 056/102: Disable aggressive prefix assumption, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 1c969ee 058/102: Allows Chicken to limit the number of symbols provided to Geiser, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 26b1f56 059/102: Use (car (process-lines ...)) instead of (shell-command ...), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 17a3799 062/102: Removed rate limit setting., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken a35ce4e 065/102: Chicken 5 works with Geiser, many features removed, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken d69c1ea 069/102: Removed more unused code, speeding things up., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken c85d953 071/102: Only check for specific chicken words, not all their keywords., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 3486915 075/102: geiser-chicken.el: Use a more stable API to get CHICKEN's version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 0740b46 076/102: Checking Chicken's version with the proper invocation, Philip Kaludercic, 2021/08/01