X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=.emacs;h=b990474d74dd029f30f3fc7540f8f8204fc6d075;hb=39cecd0853516f6ffebc60706d7e0b91b1b29508;hp=630ea6680d29d151c2a7d7b117a67fbaba798bf9;hpb=c2f68f50d024a966b6121882eba534e5b4d9f46e;p=emacs.d.git diff --git a/.emacs b/.emacs index 630ea66..b990474 100644 --- a/.emacs +++ b/.emacs @@ -56,13 +56,8 @@ ;; Don't leave backups everywhere. (setq backup-inhibited t) -;; Add this to load-path manually, then add the rest in load-paths.el -(add-to-list 'load-path "~/.home/emacs/") -(load-library "load-paths") - -(if (eq system-type 'cygwin) - (load-library "win32")) - +;; Add the directory containing .emacs to the load-path. +(add-to-list 'load-path (file-name-directory (file-truename user-init-file))) ;; Need this for ignore-errors, and some modes. (require 'cl) @@ -77,7 +72,6 @@ ;; Never ask me anything, emacs. (setq save-abbrevs nil) - (load-library "diff-buffer-against-file") (global-set-key "\C-cd" 'diff-buffer-against-file) @@ -91,3 +85,7 @@ ;; Enable the downcase-region function. (put 'downcase-region 'disabled nil) + +;; Show trailing whitespace, without having to drop into +;; whitespace-mode. +(custom-set-variables '(show-trailing-whitespace t))