Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/17/84; site godot.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!godot!massar
From: massar@godot.UUCP (J.P. Massar)
Newsgroups: net.emacs
Subject: CCA Emacs bug fix
Message-ID: <1178@godot.UUCP>
Date: Sun, 10-Mar-85 21:30:16 EST
Article-I.D.: godot.1178
Posted: Sun Mar 10 21:30:16 1985
Date-Received: Mon, 11-Mar-85 07:10:18 EST
Distribution: net
Organization: Thinking Machines, Cambridge, MA
Lines: 17

The redisplay bug as mentioned in a previous posting can also occur
when Auto Save Mode is in effect and Emacs 'Auto Saves' in the middle
of typeahead.

The following trivial fix in e_main.c in the routine edit will fix this:

		if (Savemd && ++nschar >= Saveint && empty(0)) 
			asave();
		updis();

Simply add '&& empty(0)' to the test of whether it should do Auto Save
or not.

-- 
-- JP Massar, Thinking Machines Corporation, Cambridge, MA
-- ihnp4!godot!massar
-- massar@cca-unix