Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#12624: 24.1.50; docstring of set-buffer

2 views
Skip to first unread message

Roland Winkler

unread,
Oct 11, 2012, 3:40:11 PM10/11/12
to 12...@debbugs.gnu.org
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 dman...@yandex.ru-20120719085653-jqi71da9zh0vjtit
Windowing system distributor `The X.Org Foundation', version 11.0.10400090



Glenn Morris

unread,
Oct 11, 2012, 9:48:52 PM10/11/12
to 12624...@debbugs.gnu.org
Version: 24.3

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




0 new messages