From: Jason Rumney <jasonr@gnu.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: weird documentation
Date: Tue, 03 Mar 2009 19:59:20 +0800 [thread overview]
Message-ID: <49AD1B98.2000700@gnu.org> (raw)
In-Reply-To: <buo3advrlwz.fsf@dhlpc061.dev.necel.com>
Miles Bader wrote:
> GNU Emacs 23.0.91.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.7) of 2009-03-03 on dhlpc061
>
> If I do C-h v x-select-enable-clipboard RET, it says that variable comes
> from the file .../x-win.el; and if look at the definition (following the
> hyperlink in *Help*), indeed I see:
>
> (defcustom x-select-enable-clipboard nil
> "Non-nil means cutting and pasting uses the clipboard.
> This is in addition to, but in preference to, the primary selection."
>
> Ok, great -- however the docstring given in *Help*, is _different_! It says:
>
> x-select-enable-clipboard is a variable defined in `x-win.el'.
> Its value is t
>
> Documentation:
> Non-nil means cutting and pasting uses the clipboard.
> This is the default on this system, since MS-Windows does not
> support other types of selections.
>
> That seems to be the docstring meant for MS windows, ... dunno how that
> got in there...
>
Old DOC file perhaps? The variable has not had that docstring on Windows
at least since it was moved to w32-vars.el in 2002.
next prev parent reply other threads:[~2009-03-03 11:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 9:33 weird documentation Miles Bader
2009-03-03 11:59 ` Jason Rumney [this message]
2009-03-03 12:04 ` Jason Rumney
2009-03-03 12:47 ` Geoff Gole
2009-03-03 14:17 ` Stefan Monnier
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=49AD1B98.2000700@gnu.org \
--to=jasonr@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=miles@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 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).