X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=setup%2F00init.el;h=c1609aeb7f6ca61ceef8df21d281445c48b85055;hb=a59ee7bb87b084f57a6fbdc835f49a7390ee5fdb;hp=db08adeba09e34ba7cfe6cc6dfa0603c93ef2bff;hpb=e85a749eb28898cc8c9cb65d7edc446bb849e57d;p=emacs-init.git diff --git a/setup/00init.el b/setup/00init.el index db08ade..c1609ae 100644 --- a/setup/00init.el +++ b/setup/00init.el @@ -1,3 +1,13 @@ -(add-to-list 'load-path "~/.emacs.d/auto-install") -(setq custom-file "~/.emacs.d/emacs-custom.el") -(load custom-file) +(let ((base (file-name-directory + (directory-file-name + (file-name-directory + (or load-file-name + (when (boundp 'bytecomp-filename) bytecomp-filename) buffer-file-name)))))) + + (add-to-list 'load-path (concat base "lib")) + (add-to-list 'load-path (concat base "auto-install")) + (setq custom-file (concat base "emacs-custom.el"))) + +(setenv "LANG" nil) +(prefer-coding-system 'utf-8) +(menu-bar-mode -1)