unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: jet@gyve.org, schwab@suse.de, monnier@iro.umontreal.ca,
	emacs-devel@gnu.org
Subject: Re: doc string of `local-variable-if-set-p'
Date: Thu, 14 Oct 2004 20:52:24 -0500 (CDT)	[thread overview]
Message-ID: <200410150152.i9F1qO112604@raven.dms.auburn.edu> (raw)
In-Reply-To: <E1CIFvO-0006Nm-7c@fencepost.gnu.org> (message from Richard Stallman on Thu, 14 Oct 2004 20:26:26 -0400)

Richard Stallman wrote:

     Non-nil if VARIABLE becomes local in buffer BUFFER when set there.

   That is clearer but not quite right.  If VARIABLE is already local in
   BUFFER, the function returns t.

and Miles Bader wrote:

   Non-nil if VARIABLE would be buffer-local in BUFFER after being set there.

Seven characters too long.

In the docstring I proposed, I put:

   Non-nil if VARIABLE will be local in buffer BUFFER when set there.

This is completely correct.  Even if VARIABLE is already local in
BUFFER, it still will be local when set.

Entire previously proposed docstring:

DEFUN ("local-variable-if-set-p", Flocal_variable_if_set_p, Slocal_variable_if_set_p,
       1, 2, 0,
       doc: /* Non-nil if VARIABLE will be local in buffer BUFFER when set there.
More precisely, this means that setting the variable \(with `set' or`setq'),
while it does not have a `let'-style binding that was made in BUFFER,
will produce a buffer local binding.  See Info node
`(elisp)Creating Buffer-Local'.
BUFFER defaults to the current buffer.  */)

  parent reply	other threads:[~2004-10-15  1:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 16:48 doc string of `local-variable-if-set-p' Masatake YAMATO
2004-10-13 17:13 ` Stefan
2004-10-13 17:22   ` Masatake YAMATO
2004-10-13 17:35     ` Stefan
2004-10-13 17:57       ` David Kastrup
2004-10-13 18:25         ` Luc Teirlinck
2004-10-13 18:23       ` Andreas Schwab
2004-10-15  0:26         ` Richard Stallman
2004-10-15  0:53           ` Miles Bader
2004-10-15  1:52           ` Luc Teirlinck [this message]
2004-10-15  2:12             ` Daniel Brockman
2004-10-15  2:40               ` Luc Teirlinck
2004-10-15  3:12                 ` Daniel Brockman
2004-10-15  4:12                   ` Luc Teirlinck
2004-10-15  5:01                     ` Daniel Brockman
2004-10-16  3:30                       ` Luc Teirlinck
2004-10-13 17:53     ` Luc Teirlinck
2004-10-13 22:24       ` Masatake YAMATO
2004-10-14  0:33         ` Luc Teirlinck
2004-10-15  0:26   ` Richard Stallman

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=200410150152.i9F1qO112604@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=jet@gyve.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=schwab@suse.de \
    /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).