unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* save-buffer like save-excursion
@ 2007-03-18  7:57 Matthew Flaschen
  0 siblings, 0 replies; 9+ messages in thread
From: Matthew Flaschen @ 2007-03-18  7:57 UTC (permalink / raw)
  To: emacs

Is there a command like save-excursion that only saves the buffer?  I
have several functions that must set-buffer temporarily, then do things
that change point.  I always want these point changes, but if set-buffer
changed the buffer (not necessarily true), I want to reverse that change.

So, is there already a command for this?

Matt Flaschen

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.1069.1174204758.7795.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2007-03-23  1:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-18  7:57 save-buffer like save-excursion Matthew Flaschen
     [not found] <mailman.1069.1174204758.7795.help-gnu-emacs@gnu.org>
2007-03-18  9:23 ` Harald Hanche-Olsen
2007-03-18  9:56   ` Matthew Flaschen
2007-03-19  3:54 ` Stefan Monnier
2007-03-19  5:30   ` Matthew Flaschen
2007-03-19  7:33   ` Harald Hanche-Olsen
2007-03-19 21:36     ` Matthew Flaschen
     [not found]     ` <mailman.1132.1174340311.7795.help-gnu-emacs@gnu.org>
2007-03-21 19:42       ` Stefan Monnier
2007-03-23  1:35         ` Matthew Flaschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).