From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: beginner's question: add-hook& AUCTeX
Date: Fri, 26 Aug 2011 16:53:02 +0200 [thread overview]
Message-ID: <87fwko6x81.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: CAOm4EMtkcrR3Ca_kWu5bAH97G4-5NPr4VQyAF8=NX1DG2U0Nwg@mail.gmail.com
Shiyuan <gshy2014@gmail.com> writes:
Hi!
> It turns out that the problem is caused by another line of my .emacs file,
> which I want to append the load-path,
> (setq load-path (append (list nil "~/lisp") load-path))
> if the "nil" is deleted, it works fine. But I don't understand why adding
> the current directory to load-path messes up the loading of AUCTeX. I don't
> have any lisp package s in my current directory.
nil in `load-path' means `default-directory' which is usually your HOME,
but might be redefined on a per-buffer basis, or maybe even bound
dynamically in some code loading lisp files. I'd really refrain from
using nil in `load-path'. Sounds like a can of worms to me...
Bye,
Tassilo
next prev parent reply other threads:[~2011-08-26 14:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 19:46 Re:Re:beginner's question: add-hook& AUCTeX Shiyuan
2011-08-25 19:57 ` beginner's " Jambunathan K
2011-08-26 14:53 ` Tassilo Horn [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-26 16:42 beginner's question:add-hook&AUCTeX PJ Weisberg
2011-08-25 5:30 Shiyuan
2011-08-25 6:35 ` Tassilo Horn
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=87fwko6x81.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.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).