Christophe Weblog Wiki Code Publications Music
implement swank:buffer-first-change
authorChristophe Rhodes <csr21@cantab.net>
Fri, 13 Aug 2010 16:24:02 +0000 (17:24 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 13 Aug 2010 16:24:02 +0000 (17:24 +0100)
Simply stub it in, to stop things whining at me when I type into the
wrong window and edit a Lisp file (which happens to be in slime
mode...)

swank.R

diff --git a/swank.R b/swank.R
index c6a1ec2f0e0afe13d7e90a3910370bbb3dfe49ef..09ad173d3285d2e139fac4ec220e16f766c67af4 100644 (file)
--- a/swank.R
+++ b/swank.R
@@ -267,3 +267,7 @@ writeSexpToString <- function(obj) {
     invokeRestart(computeRestarts()[[n+1]])
   }
 }
+
+`swank:buffer-first-change` <- function(io, sldbState, filename) {
+  FALSE
+}