all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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 --
     [not found] <mailman.1069.1174204758.7795.help-gnu-emacs@gnu.org>
2007-03-18  9:23 ` save-buffer like save-excursion 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
2007-03-18  7:57 Matthew Flaschen

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.