/emacs-config

All my Emacs config, and the dependencies. Currently tested with Aquamacs on OS X and Emacs 22 on Ubuntu

Primary LanguageEmacs Lisp

;; -*- Emacs-Lisp -*-

;; This repository has all my Emacs config, which is loaded through a .emacs file like the following:

(let ((homedir-by-system-type
       (cond
         ((or (eq system-type 'cygwin)
              (eq system-type 'gnu/linux))
          "/home/cb")
         ((eq system-type 'darwin)
          "/Users/cb")
         (t "c:/home/cb"))))
  (defvar *home-path* (file-name-as-directory homedir-by-system-type))
  (defvar *home-elisp-path* (concat *home-path* "/Projects/emacs-config"))
  (load-file (expand-file-name "subdirs.el" *home-elisp-path*)))


;; You should just change the home directory and/or elisp paths above 
;; and save this into your .emacs or Aquamacs Preferences.el on Mac OS X