help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning (initialization): Your `load-path' seems to contain


From: Ruben Maher
Subject: Re: Warning (initialization): Your `load-path' seems to contain
Date: Wed, 18 Jun 2014 14:12:25 +0930
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> For some time now I've been getting this -
> Warning (initialization): Your `load-path' seems to contain
> your `.emacs.d' directory: /home/boudiccas/.emacs.d/
> This is likely to cause problems...
> Consider using a subdirectory instead, e.g.: /home/boudiccas/.emacs.d/lisp
> in my *Warnings* buffer.
>
> These are the relevant lines from my "init.el"
> (setq load-path (cons "/home/boudiccas/.emacs.d/lisp" load-path))
> (add-to-list 'load-path "/home/boudiccas/.emacs.d/personal-lisp")
>
> Why doesn't it accept what's in the "init.el" please, and what can I
> do to put it right?

Hi Sharon,

Emacs is not rejecting init.el, it's just warning you.  If you don't
want to see the warning anymore you can drop this snippet in there:

(eval-after-load "warnings"
  ;; shut up, emacs!
  '(setq display-warning-minimum-level :error))

Kind regards,

Ruben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]