emacs-devel
[Top][All Lists]
Advanced

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

Re: Documentation for custom-file - is not (load custom-file) needed?


From: Kim F. Storm
Subject: Re: Documentation for custom-file - is not (load custom-file) needed?
Date: Tue, 07 Dec 2004 10:39:09 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> If Custom is to write anything in .emacs, it should allow the user to
> specify different custom files for different ranges of Emacs versions
> and write a `cond' form into .emacs of the type below.  That might be
> useful, but I believe we should wait with that until after the release.
>
> (cond ((< emacs-major-version 21)
>        (load "~/.custom-20.el"))
>       ((< emacs-minor-version 4)
>        (load "~/.custom-21.el"))
>       (t
>        (load "~/.custom-21.4.el")))
>

FWIW, this is exactly how I use custom-file.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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