Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!s.cs.uiuc.edu!carroll From: carroll@s.cs.uiuc.edu Newsgroups: gnu.emacs Subject: marking buffer updated Message-ID: <224300006@s.cs.uiuc.edu> Date: 6 Oct 89 10:01:13 GMT Lines: 12 Nf-ID: #N:s.cs.uiuc.edu:224300006:000:648 Nf-From: s.cs.uiuc.edu!carroll Oct 3 12:34:00 1989 If I'm writing a primitive that modifies a buffer, and I want that buffer (which might not be the current buffer) to be marked as modified so that the next redisplay updates it on the screen, what should be done? As I understand it now, buffer->text.modified should be incremented. Is this correct? And if the buffer is the current buffer, should bf_modified be incremented, or bf_cur->text.modified, or both? Any help would be appreciated. Thanks! Alan M. Carroll "Oh goody, my Illudium Q-36 Explosive carroll@s.cs.uiuc.edu Space Modulator!" CS Grad / U of Ill @ Urbana ...{ucbvax,pur-ee,convex}!s.cs.uiuc.edu!carroll