all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12624: 24.1.50; docstring of set-buffer
@ 2012-10-11 19:40 Roland Winkler
  2012-10-12  1:48 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Winkler @ 2012-10-11 19:40 UTC (permalink / raw)
  To: 12624

There have been various discussions that often set-buffer should not be
combined with save-excursion, but better with save-current-buffer or
with-current-buffer. By chance I looked at the docstring of set-buffer,
which (still) says

  See also `save-excursion' when you want to make a buffer current
  temporarily.

Shouldn't this be changed to something like

  See also `save-current-buffer' and `with-current-buffer'...


In GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9)
 of 2012-07-19 on lukas
Bzr revision: 109157 dmantipov@yandex.ru-20120719085653-jqi71da9zh0vjtit
Windowing system distributor `The X.Org Foundation', version 11.0.10400090





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#12624: 24.1.50; docstring of set-buffer
  2012-10-11 19:40 bug#12624: 24.1.50; docstring of set-buffer Roland Winkler
@ 2012-10-12  1:48 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-10-12  1:48 UTC (permalink / raw)
  To: 12624-done

Version: 24.3

Thanks, I changed it to say `with-current-buffer' instead.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-12  1:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11 19:40 bug#12624: 24.1.50; docstring of set-buffer Roland Winkler
2012-10-12  1:48 ` Glenn Morris

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.