From: Eli Zaretskii <eliz@gnu.org>
To: Sebastian Wiesner <swiesner@lunaryorn.com>
Cc: 22210-done@debbugs.gnu.org
Subject: bug#22210: 25.0.50; display-message-or-buffer docstring refers to wrong argument in display-buffer
Date: Sat, 19 Dec 2015 13:35:57 +0200 [thread overview]
Message-ID: <83poy2vffm.fsf@gnu.org> (raw)
In-Reply-To: <5B958F32-EA39-487C-822A-EDCE157ECCB9@lunaryorn.com> (message from Sebastian Wiesner on Sat, 19 Dec 2015 10:15:56 +0100)
> From: Sebastian Wiesner <swiesner@lunaryorn.com>
> Date: Sat, 19 Dec 2015 10:15:56 +0100
>
> The docstring of `display-message-or-buffer' reads as follows:
>
> ----
>
> (display-message-or-buffer MESSAGE &optional BUFFER-NAME NOT-THIS-WINDOW FRAME)
>
> […]
>
> Optional arguments NOT-THIS-WINDOW and FRAME are as for ‘display-buffer’,
> and only used if a buffer is displayed.
>
> ----
>
> However, display-buffer does not actually have a NOT-THIS-WINDOW argument:
>
> (display-buffer BUFFER-OR-NAME &optional ACTION FRAME)
>
> The source of display-message-or-buffer reveals that NOT-THIS-WINDOW is actually
> passed in the ACTION argument.
>
> I think the argument of display-message-or-buffer should be renamed to ACTION
> as well.
Thanks, fixed.
next prev parent reply other threads:[~2015-12-19 11:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-19 9:15 bug#22210: 25.0.50; display-message-or-buffer docstring refers to wrong argument in display-buffer Sebastian Wiesner
2015-12-19 11:35 ` Eli Zaretskii [this message]
2015-12-19 11:40 ` Sebastian Wiesner
2015-12-19 12:21 ` Eli Zaretskii
2015-12-19 13:25 ` Sebastian Wiesner
2015-12-19 14:19 ` Eli Zaretskii
2015-12-20 0:04 ` Sebastian Wiesner
2015-12-20 0:16 ` John Wiegley
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83poy2vffm.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=22210-done@debbugs.gnu.org \
--cc=swiesner@lunaryorn.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).