|
From: | Peter Dyballa |
Subject: | Re: Using the same custom file in two different OSes |
Date: | Mon, 14 Jan 2013 22:55:14 +0100 |
Am 14.01.2013 um 20:42 schrieb Dani Moncayo: > Mmmm I'm afraid I'm unable to keep my custom file free of my > platform-specific stuff. See whether custom-file (a variable) can do something for you! One thing is sure: the custom-set-variables and custom-set-faces can only exist once. For GNU Emacs (not the file system). So I have one single body which then loads via (load custom-file) the customisations for different GNU Emacs versions. They have names à la ~/.emacs-Abrichtung-<emacs version>.el – but it could be OS specific as well. Practical hint: move all your customisation in one version of custom-file. Copy this file to the other variants. Then edit these variants on the specific platforms via GNU Emacs' customisation interface! -- Greetings Pete There's no place like 127.0.0.1 – origin unknown
[Prev in Thread] | Current Thread | [Next in Thread] |