unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: variable defined in site-start.el not in .emacs or default.el
Date: Sat, 01 Jan 2005 15:40:43 +0100	[thread overview]
Message-ID: <87vfahrz4k.fsf@dod.no> (raw)

Platform: Intel Pentium M, debian sarge (testing/unstable)
	  emacs21 21.3+1-8

I'm defining a variable for the site-lisp directory in the
site-start.el file:

(defvar company-site-lisp (file-name-directory (locate-library "site-start"))
  "Path to the Company site-lisp directory.
The default value here is the location of the site-start.el file.")

The company-site-lisp variable seems to be defined when used elsewhere
in site-start.el.  But it is reported to be undefined when I'm
attempting to use it in ~/.emacs and the default.el file.

Also it isn't found when doing `C-h v' after startup.

I thought this would be a globally defined variable?  The variables
I'm defining with defcustom seems to be working.

Am I doing something wrong?

Thanx!

             reply	other threads:[~2005-01-01 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-01 14:40 Steinar Bang [this message]
2005-01-02 19:00 ` variable defined in site-start.el not in .emacs or default.el drkm

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=87vfahrz4k.fsf@dod.no \
    --to=sb@dod.no \
    /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).