emacs: Local configuration files.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 19 May 2008 14:48:40 +0000 (15:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 19 May 2008 15:01:17 +0000 (16:01 +0100)
  * Set up .emacs-local for local configuration (i.e., not handled
    by ~/etc/profile).

  * Set up .emacs-custom for the Emacs Customizer.

emacs

diff --git a/emacs b/emacs
index dfe9caf..b1f17e1 100644 (file)
--- a/emacs
+++ b/emacs
 (setq rmail-display-summary t)
 (setq rmail-file-name "~/Mail/rmail")
 
+;; --- Customization ---
+
+(setq custom-file "~/.emacs-custom")
+(trap (load custom-file))
+
+(trap (load "~/.emacs-local"))
+
 ;; --- Internationalization twiddling ---
 
 (trap