[slime-cvs] CVS update: slime/slime.el

Helmut Eller heller at common-lisp.net
Wed Jul 6 16:27:01 UTC 2005


Update of /project/slime/cvsroot/slime
In directory common-lisp.net:/tmp/cvs-serv10940

Modified Files:
	slime.el 
Log Message:
(slime-send-sigint): Use the symbol SIGINT stead of the signal number.
Suggested by Joerg Hoehle.

(slime-compile-file): XEmacs needs the buffer as argument to
local-variable-p.  Reported by Andy Sloane.

Date: Wed Jul  6 18:27:00 2005
Author: heller

Index: slime/slime.el
diff -u slime/slime.el:1.512 slime/slime.el:1.513
--- slime/slime.el:1.512	Tue Jul  5 22:32:34 2005
+++ slime/slime.el	Wed Jul  6 18:27:00 2005
@@ -2359,11 +2359,9 @@
   (setf (slime-rex-continuations) '())
   (mapc #'kill-buffer (sldb-buffers)))
 
-(defconst +slime-sigint+ 2)
-
 (defun slime-send-sigint ()
   (interactive)
-  (signal-process (slime-pid) +slime-sigint+))
+  (signal-process (slime-pid) 'SIGINT))
 
 ;;;;; Event logging to *slime-events*
 ;;;
@@ -3775,7 +3773,7 @@
     (slime-eval-async
      `(swank:compile-file-for-emacs 
        ,lisp-filename ,(if load t nil)
-       ,@(if (local-variable-p 'slime-coding)
+       ,@(if (local-variable-p 'slime-coding (current-buffer))
              (list (slime-coding-system-cl-name slime-coding))))
      (slime-compilation-finished-continuation))
     (message "Compiling %s.." lisp-filename)))




More information about the slime-cvs mailing list