> (if (= emacs-major-version 20) (setq custom-file
> "~/.emacs-Abrichtung-20.el"))
> (if (= emacs-major-version 21) (setq custom-file
> "~/.emacs-Abrichtung-21.el"))
> (if (= emacs-major-version 22) (setq custom-file
> "~/.emacs-Abrichtung-22.el"))
> (load custom-file)

I of course strongly recommend against this style, since it naturally leads
to duplication of settings.
Just use `fboundp' or `boundp' where needed, or `ignore-errors'.
This way you have a single file to manage and you know the configuration
will be as close as possible between the different Emacs versions you
may use.


        Stefan
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to