Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!cs.yale.edu!Duchier-Denys@cs.yale.edu From: Duchier-Denys@cs.yale.edu (Denys Duchier) Newsgroups: gnu.emacs.bug Subject: direct_output_for_insert & shared buffer Message-ID: <12600@cs.yale.edu> Date: 24 Jan 90 02:54:54 GMT Sender: news@cs.yale.edu Reply-To: Duchier-Denys@cs.yale.edu (Denys Duchier) Organization: Computer Science, Yale University, New Haven, CT 06520-2158 Lines: 12 I think direct_output_for_insert should fail (return 0) when the current buffer is shared (buffer_shared > 1). The reason is that we are going to have to redisplay anyway. I noticed this problem because it interfered with my proposed improvement for shared buffer redisplay. The fix is simply to insert the additional disjunct: || buffer_shared > 1 in the condition at the beginning of direct_output_for_insert. --Denys