From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.help Subject: Re: revert-buffer without question? Date: 24 Feb 2005 14:57:45 +0000 Organization: School of Computer Science, University of Manchester, U.K. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109257486 4866 80.91.229.2 (24 Feb 2005 15:04:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2005 15:04:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 24 16:04:46 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D4KVE-0005ca-Rq for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2005 16:02:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D4Kmo-0004DP-17 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2005 10:20:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!feed3.jnfs.ja.net!feed1.jnfs.ja.net!jnfs.ja.net!peernews.mcc.ac.uk!cs.man.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: rpc71.cs.man.ac.uk Original-X-Trace: wapping.cs.man.ac.uk 1109257065 7994 130.88.198.228 (24 Feb 2005 14:57:45 GMT) Original-X-Complaints-To: news@wapping.cs.man.ac.uk Original-NNTP-Posting-Date: Thu, 24 Feb 2005 14:57:45 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 Original-Xref: shelby.stanford.edu gnu.emacs.help:128778 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24315 >>>>> "Toni" == Toni K Trampert writes: Toni> hi, Toni> i would like to use the function Toni> revert-buffer Toni> without the compulsive question Toni> "Revert buffer from file /home/tkk/temp/test (yes or no)" Toni> how? M-x auto-revert-buffer may be what you want. Or you can set `revert-without-query'. Or you could define a new function (defun revert-buffer-noask() (interactive) (revert-buffer nil t)) should do it. Phil