GNU bug report logs - #12624
24.1.50; docstring of set-buffer

Previous Next

Package: emacs;

Reported by: Roland Winkler <winkler <at> gnu.org>

Date: Thu, 11 Oct 2012 19:42:02 UTC

Severity: minor

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roland Winkler <winkler <at> gnu.org>
To: 12624 <at> debbugs.gnu.org
Subject: bug#12624: 24.1.50; docstring of set-buffer
Date: Thu, 11 Oct 2012 14:40:11 -0500
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 <at> yandex.ru-20120719085653-jqi71da9zh0vjtit
Windowing system distributor `The X.Org Foundation', version 11.0.10400090




This bug report was last modified 12 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.