diff options
author | Ashton Wiersdorf <mail@wiersdorf.dev> | 2023-04-13 10:34:08 -0600 |
---|---|---|
committer | Ashton Wiersdorf <mail@wiersdorf.dev> | 2023-04-13 10:34:08 -0600 |
commit | f7e2f3cbf7effe9f41fb062757ab6ffe02791a8b (patch) | |
tree | 64bf7fa16085dbd732ab4c281d647deaf2e470d5 /init.el | |
parent | 879d948fc9a3a3466f6ad86fee478af343ac15f7 (diff) |
Add MELPA to package list; turn off transparency
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -27,6 +27,11 @@ ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Package initialization +(require 'package) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) +(package-initialize) + ;; If you want to turn off the welcome screen, uncomment this ;(setq inhibit-splash-screen t) @@ -54,7 +59,7 @@ "Return a new file path of a given file path. If the new path's directories does not exist, create them." (let* ((backupRootDir "~/.emacs.d/emacs-backup/") - (filePath (replace-regexp-in-string "[A-Za-z]:" "" fpath )) ; remove Windows driver letter in path, for example, “C:” + (filePath (replace-regexp-in-string "[A-Za-z]:" "" fpath )) ; remove Windows driver letter in path (backupFilePath (replace-regexp-in-string "//" "/" (concat backupRootDir filePath "~") ))) (make-directory (file-name-directory backupFilePath) (file-name-directory backupFilePath)) backupFilePath)) |