about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--settings.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/settings.c b/settings.c
index 6e2a49d..00171b5 100644
--- a/settings.c
+++ b/settings.c
@@ -1101,16 +1101,7 @@ set_auto_load_images(char *value)
 int
 set_enable_autoscroll(char *value)
 {
-	struct tab              *t;
-
 	enable_autoscroll = atoi(value);
-	if (enable_autoscroll) {
-		TAILQ_FOREACH(t, &tabs, entry) {
-			run_script(t, JS_AUTOSCROLL);
-		}
-	} else {
-		/* XXX: kill the script if running */
-	}
 	return (0);
 }