From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: 29278@debbugs.gnu.org
Subject: bug#29278: Incorrect documentation of ido-find-alternate-file
Date: Sun, 12 Nov 2017 18:12:18 -0500 [thread overview]
Message-ID: <74f8c158-ebc5-dc72-0dc0-3741eae89375@live.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]
The docstring of ido-find-alternate-file is wrong:
;;;###autoload
(defun ido-find-file-other-window ()
"Switch to another file and show it in another window.
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
(ido-file-internal 'other-window 'find-file-other-window))
;;;###autoload
(defun ido-find-alternate-file ()
"Switch to another file and show it in another window.
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
(ido-file-internal 'alt-file 'find-alternate-file nil "Find alternate file: "))
The first line of ido-find-alternate-file could be changed to "Find file FILENAME, select its buffer, kill previous buffer." to fix this.
Cheers,
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2017-11-12 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-12 23:12 Clément Pit--Claudel [this message]
2017-11-18 11:16 ` bug#29278: Incorrect documentation of ido-find-alternate-file Eli Zaretskii
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=74f8c158-ebc5-dc72-0dc0-3741eae89375@live.com \
--to=clement.pitclaudel@live.com \
--cc=29278@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.