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

Brian Downing bdowning at common-lisp.net
Fri Jul 2 19:09:36 UTC 2004


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

Modified Files:
	slime.el ChangeLog 
Log Message:
* slime.el (slime-reindent-defun): Added a check for (boundp
'slime-repl-input-start-mark) before checking the variable, as
XEmacs leaves variables unbound when `make-variable-buffer-local'
is run, while GNU Emacs binds them to NIL.

Date: Fri Jul  2 12:09:36 2004
Author: bdowning

Index: slime/slime.el
diff -u slime/slime.el:1.353 slime/slime.el:1.354
--- slime/slime.el:1.353	Wed Jun 30 16:07:18 2004
+++ slime/slime.el	Fri Jul  2 12:09:35 2004
@@ -6571,7 +6571,8 @@
         (fill-paragraph nil)
       (let ((start (progn (unless (and (zerop (current-column))
                                        (eq ?\( (char-after)))
-                            (if slime-repl-input-start-mark
+                            (if (and (boundp 'slime-repl-input-start-mark)
+                                     slime-repl-input-start-mark)
                                 (slime-repl-beginning-of-defun)
                               (beginning-of-defun)))
                           (point)))


Index: slime/ChangeLog
diff -u slime/ChangeLog:1.453 slime/ChangeLog:1.454
--- slime/ChangeLog:1.453	Fri Jul  2 11:01:12 2004
+++ slime/ChangeLog	Fri Jul  2 12:09:35 2004
@@ -1,3 +1,10 @@
+2004-07-02  Brian Downing  <bdowning at lavos.net>
+
+	* slime.el (slime-reindent-defun): Added a check for (boundp
+	'slime-repl-input-start-mark) before checking the variable, as
+	XEmacs leaves variables unbound when `make-variable-buffer-local'
+	is run, while GNU Emacs binds them to NIL.
+
 2004-07-02  Martin Simmons <martin at xanalys.com>
 
 	* swank-lispworks.lisp (dspec-stream-position,





More information about the slime-cvs mailing list