From: Christoph <cschol2112@googlemail.com>
To: 6528@debbugs.gnu.org
Subject: bug#6528: 24.0.50; `read-buffer' doc string
Date: Mon, 28 Jun 2010 21:03:30 -0600 [thread overview]
Message-ID: <4C296282.8000105@gmail.com> (raw)
In-Reply-To: <A8CED5D9DF3449E4B4C28AF1833F7738@us.oracle.com>
The only other function in minibuf.c that has a REQUIRE-MATCH argument
is completing-read (l.1722).
Since in read-buffer the function completing-read is called with the
argument require-match (l.1237), I think the doc string should read like
this:
"Optional third arg REQUIRE-MATCH determines whether non-existing
buffer names are allowed. It has the same meaning as the
REQUIRE-MATCH argument of the `completing-read' function."
This patch will fix it accordingly:
=== modified file 'src/minibuf.c'
--- src/minibuf.c 2010-06-08 19:42:10 +0000
+++ src/minibuf.c 2010-06-29 02:59:05 +0000
@@ -1184,7 +1184,7 @@
If DEF is a list of default values, return its first element.
Optional third arg REQUIRE-MATCH determines whether non-existing
buffer names are allowed. It has the same meaning as the
- REQUIRE-MATCH argument of `confirm-after-completion'.
+ REQUIRE-MATCH argument of the `completing-read' function.
The argument PROMPT should be a string ending with a colon and a space.
If `read-buffer-completion-ignore-case' is non-nil, completion ignores
case while reading the buffer name.
Christoph
next prev parent reply other threads:[~2010-06-29 3:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 15:40 bug#6528: 24.0.50; `read-buffer' doc string Drew Adams
2010-06-29 3:03 ` Christoph [this message]
2010-06-29 6:28 ` Drew Adams
2010-07-25 23:57 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C296282.8000105@gmail.com \
--to=cschol2112@googlemail.com \
--cc=6528@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.