chiark / gitweb /
emacs: load ian-local.el if it exists; load private.el if it exists
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 13 Jun 2016 11:27:01 +0000 (12:27 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 13 Jun 2016 11:27:01 +0000 (12:27 +0100)
dot/emacs
home/emacs/ian.el

index 4c2a317..c629a79 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
@@ -18,3 +18,6 @@
 (load-library "ian")
 (menu-bar-mode -1)
 (put 'dired-find-alternate-file 'disabled nil)
+(let ((ian-local (locate-library "ian-local")))
+  (if ian-local
+        (load-library ian-local)))
index 1366b88..00ec26d 100644 (file)
@@ -372,7 +372,8 @@ then call send-and-exit."
       bbdb-message-caching-enabled t)      
 ;
 ; VM stuff
-;(load-file "~/private/private.el")
+(if (file-exists-p "~/private/private.el")
+  (load-file "~/private/private.el"))
 (if (file-exists-p "~/private/private2.el")
   (load-file "~/private/private2.el"))
 (setq vm-included-text-attribution-format "%F writes (\"%s\"):\n"