- Subject: Re: deleting a buffer without confirmation
 
- From: Marko Mahnic <marko.mahnic@xxxxxxxx>
 
- Date: Fri, 02 Sep 2005 17:51:48 +0200
 
Mack Stevenson wrote:
Hi everyone,
How can I delete a buffer which never got written to disk without 
prompting the user for confirmation? I checked dired.sl (it works that 
way) but I was unable to spot what makes delbuf() behave differently.
Try this:
define expunge_buffer(buf)
{
   setbuf(buf);
   set_buffer_modified_flag(0);
   delbuf(buf);
}
Marko
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2005 date index]
  [2005 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]