[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make emacs not load something in its path?
From: |
Alexander Baier |
Subject: |
Re: How to make emacs not load something in its path? |
Date: |
Mon, 17 Nov 2014 21:28:33 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) |
On 2014-11-17 17:50 Harry Putnam wrote:
> This may be a common thing but it never crossed my pea brain before.
>
> How would I stop emacs from loading something in its path?
>
> For example: If I wanted to have one emacs version load ~/.emacs and a
> different version NOT load it.
>
> Or would it just be better to remove ~/.emacs and have each version
> load its own ~/.emacs-24, or ~/.emacs-25
You can write one init file that looks at the version of the current
emacs and loads the correct file.
Maybe the variable emacs-version will help you here.
HTH,
--
Alexander Baier