Don't invoke variable assignment daemons if the editor is not running.
authorChris Hanson <org/chris-hanson/cph>
Mon, 18 Oct 1993 23:19:30 +0000 (23:19 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 18 Oct 1993 23:19:30 +0000 (23:19 +0000)
v7/src/edwin/comman.scm

index 66c4c936119449d14a5fad1b1f500e19b2a3d27c..06e88b7a3bd440338b201c64555f70ea0721cc41 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: comman.scm,v 1.76 1993/10/15 02:09:17 cph Exp $
+$Id: comman.scm,v 1.77 1993/10/18 23:19:30 cph Exp $
 
 Copyright (c) 1986, 1989-1993 Massachusetts Institute of Technology
 
@@ -179,9 +179,10 @@ of that license should have been included along with this file.
        (set-variable-assignment-daemons! variable (cons daemon daemons)))))
 
 (define (invoke-variable-assignment-daemons! buffer variable)
-  (do ((daemons (variable-assignment-daemons variable) (cdr daemons)))
-      ((null? daemons))
-    ((car daemons) buffer variable)))
+  (if within-editor?
+      (do ((daemons (variable-assignment-daemons variable) (cdr daemons)))
+         ((null? daemons))
+       ((car daemons) buffer variable))))
 
 (define editor-variables
   (make-string-table 50))