all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phillip Lord <p.lord@cs.man.ac.uk>
Subject: Re: revert-buffer without question?
Date: 24 Feb 2005 14:57:45 +0000	[thread overview]
Message-ID: <vf4qg2yphy.fsf@rpc71.cs.man.ac.uk> (raw)
In-Reply-To: pan.2005.02.24.14.39.35.519596@robber.de

>>>>> "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	other threads:[~2005-02-24 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 14:39 revert-buffer without question? Toni K. Trampert
2005-02-24 14:57 ` Phillip Lord [this message]
2005-02-24 20:28   ` Toni K. Trampert
2005-02-24 22:57     ` August
2005-02-24 23:03     ` Kevin Rodgers
2005-02-25  0:43 ` Enila Nero
2005-03-07  6:36 ` Kyle Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vf4qg2yphy.fsf@rpc71.cs.man.ac.uk \
    --to=p.lord@cs.man.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.