about summary refs log tree commit diff
path: root/init-functions.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-07T23·15+0200
committerVincent Ambo <vincent@spotify.com>2013-07-07T23·15+0200
commit0d133eceb395d44b7a234b5f455d9d92bba43f4e (patch)
tree10c09f8a56fdeb900e2ba62ba944642ad39838a9 /init-functions.el
parent90f95a6a3dd5a95a3df315a9dfcdf8ea94d59104 (diff)
Split up configuration in five files. I wrote a nice commit message explaining this, but I wrote it in vi and it died on me.
Diffstat (limited to 'init-functions.el')
-rw-r--r--init-functions.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/init-functions.el b/init-functions.el
deleted file mode 100644
index 43d7c81c2fc1..000000000000
--- a/init-functions.el
+++ /dev/null
@@ -1,23 +0,0 @@
-;; A few handy functions I use in init.el (or not, but they're nice to
-;; have)
-
-;; Ensure that the themes folder exists
-
-(defun custom-download-theme (url filename)
-  "Downloads a theme through HTTP and places it in ~/.emacs.d/themes"
-
-  ;; Ensure the directory exists
-  (unless (file-exists-p "~/.emacs.d/themes")
-    (make-directory "~/.emacs.d/themes"))
-
-  ;; Adds the themes folder to the theme load path (if not already
-  ;; there)
-  (unless (member "~/.emacs.d/themes" custom-theme-load-path)
-    (add-to-list 'custom-theme-load-path "~/.emacs.d/themes"))
- 
-  ;; Download file if it doesn't exist.
-
-  (let ((file
-         (concat "~/.emacs.d/themes/" filename)))
-    (unless (file-exists-p file)
-      (url-copy-file url file))))