unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: weird documentation
Date: Tue, 03 Mar 2009 18:33:00 +0900	[thread overview]
Message-ID: <buo3advrlwz.fsf@dhlpc061.dev.necel.com> (raw)

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...

Thanks,

-Miles

-- 
Future, n. That period of time in which our affairs prosper, our friends
are true and our happiness is assured.




             reply	other threads:[~2009-03-03  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03  9:33 Miles Bader [this message]
2009-03-03 11:59 ` weird documentation Jason Rumney
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=buo3advrlwz.fsf@dhlpc061.dev.necel.com \
    --to=miles.bader@necel.com \
    --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).