* Signal an error if unable to find channel.scm file.
authorNeil Jerram <neil@ossau.uklinux.net>
Thu, 21 Jun 2001 19:39:03 +0000 (19:39 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Thu, 21 Jun 2001 19:39:03 +0000 (19:39 +0000)
emacs/ChangeLog
emacs/guile.el

index 2b02bf8..69b67b5 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-21  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * guile.el (guile-channel-file): Signal an error if unable to find
+       channel.scm.
+       Change "gulie" typos to "guile".
+
 2001-05-06  Keisuke Nishida  <kxn30@po.cwru.edu>
 
        * guile.el (guile:eval): Propagate user interrupt.
index efd91fd..15f866f 100644 (file)
@@ -25,7 +25,7 @@
 ;;; Low level interface
 ;;;
 
-(defvar gulie-emacs-file
+(defvar guile-emacs-file
   (catch 'return
     (mapc (lambda (dir)
            (let ((file (expand-file-name "guile-emacs.scm" dir)))
          load-path)
     (error "Cannot find guile-emacs.scm")))
 
-(defvar gulie-channel-file
+(defvar guile-channel-file
   (catch 'return
     (mapc (lambda (dir)
            (let ((file (expand-file-name "channel.scm" dir)))
              (if (file-exists-p file) (throw 'return file))))
-         load-path)))
+         load-path)
+    (error "Cannot find channel.scm")))
 
 (defvar guile-libs
-  (nconc (if gulie-channel-file (list "-l" gulie-channel-file) '())
-        (list "-l" gulie-emacs-file)))
+  (nconc (if guile-channel-file (list "-l" guile-channel-file) '())
+        (list "-l" guile-emacs-file)))
 
 ;;;###autoload
 (defun guile:make-adapter (command channel)
   (let* ((buff (generate-new-buffer " *guile object channel*"))
-        (libs (if gulie-channel-file (list "-l" gulie-channel-file) nil))
+        (libs (if guile-channel-file (list "-l" guile-channel-file) nil))
         (proc (apply 'start-process "guile-oa" buff command "-q" guile-libs)))
     (process-kill-without-query proc)
     (accept-process-output proc)