GNU bug report logs - #34794
26.1; doc of `read-buffer'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 9 Mar 2019 16:32:02 UTC

Severity: minor

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 34794 <at> debbugs.gnu.org
Subject: bug#34794: 26.1; doc of `read-buffer'
Date: Sat, 09 Mar 2019 18:54:10 +0200
> Date: Sat, 9 Mar 2019 08:31:38 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> AFAICT neither the doc string nor the Elisp manual states what the
> default value is if argument DEF is nil.  IOW, what is the default
> buffer name if no explicit default is provided?  It seems (without
> thorough testing) to be the value of `(buffer-name (current-buffer))'.

No, it's an empty string, and I think the doc string already conveys
that.  (Note that if read-buffer-function is non-nil, what happens
then is entirely up to that function, which doesn't make it easy to
say exactly how DEF is handled.)




This bug report was last modified 6 years and 151 days ago.

Previous Next


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