help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: revert-buffer without question?


From: Phillip Lord
Subject: Re: revert-buffer without question?
Date: 24 Feb 2005 14:57:45 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93

>>>>> "Toni" == Toni K Trampert <tkt@robber.de> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]