unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ian Zimmerman <itz@buug.org>
To: help-gnu-emacs@gnu.org
Subject: Re: elint and the byte-compiler
Date: Fri, 26 Jun 2015 10:07:31 -0700	[thread overview]
Message-ID: <20150626170404.21195.3842694D@ahiker.mooo.com> (raw)
In-Reply-To: <87y4j6lbci.fsf@nl106-137-147.student.uu.se>

On 2015-06-26 17:48 +0200, Emanuel Berg wrote:

> only then if I set the variable before that, is there a danger what is
> loaded will in it's own init process write over what I already set?

Not if the loaded module uses defvar:

 (defvar SYMBOL &optional INITVALUE DOCSTRING)

 Define SYMBOL as a variable, and return SYMBOL.
 You are not required to define a variable in order to use it,
 but the definition can supply documentation and an initial value
 in a way that tags can recognize.

 INITVALUE is evaluated, and used to set SYMBOL, only if SYMBOL's value
 is void.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




  reply	other threads:[~2015-06-26 17:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 15:48 elint and the byte-compiler Emanuel Berg
2015-06-26 17:07 ` Ian Zimmerman [this message]
2015-06-26 22:27   ` Emanuel Berg
2015-06-26 23:15     ` Ian Zimmerman
2015-06-26 23:19       ` Emanuel Berg
2015-06-27  0:18         ` Ian Zimmerman
2015-06-27  1:40           ` Emanuel Berg
2015-06-27  1:45           ` Emanuel Berg

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=20150626170404.21195.3842694D@ahiker.mooo.com \
    --to=itz@buug.org \
    --cc=help-gnu-emacs@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.
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).