Created
September 27, 2009 01:13
-
-
Save markhepburn/194537 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar *mh/lisp-base* (file-name-directory (file-truename user-init-file)) | |
"Base code directory; contains free-standing code and | |
subdirectories of other projects. Defaults to the directory | |
containing the user's initialisation file (including following | |
symlinks).") | |
(add-to-list 'load-path *mh/lisp-base*) | |
;;; site-specific customisations; for now, assume that this can be | |
;;; done by platform, since it's linux at work, OSX at home. Just | |
;;; name the file the same as is reported by system-type (#'load will | |
;;; stick the ".el" on the end automatically). | |
(load (subst-char-in-string ?/ ?- (symbol-name system-type)) | |
t) ; no error if it doesn't exist. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment