Compare commits
3 commits
05ad81c631
...
a4ee1d8885
Author | SHA1 | Date | |
---|---|---|---|
a4ee1d8885 | |||
e6a1229e83 | |||
7df5b0e507 |
19 changed files with 6 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
;; configure backups
|
||||
(setq backup-directory-alist '(("." . "~/.emacs.d/backups/")
|
||||
(setq backup-directory-alist '(("." . "~/.config/emacs/backups/")
|
||||
("/dev/shm" . "/dev/null"))
|
||||
backup-by-copying t
|
||||
delete-old-versions t
|
|
@ -40,7 +40,7 @@
|
|||
(require 'use-package)
|
||||
|
||||
;; file used for storing customization information
|
||||
(setq custom-file "~/.emacs.d/custom.el")
|
||||
(setq custom-file "~/.config/emacs/custom.el")
|
||||
(load custom-file)
|
||||
|
||||
;; set auth-sources
|
||||
|
@ -61,7 +61,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
|||
:group 'config-snippets
|
||||
:type '(repeat (choice symbol string)))
|
||||
|
||||
(defcustom config-snippet-path '("~/.emacs.d/config/")
|
||||
(defcustom config-snippet-path '("~/.config/emacs/config/")
|
||||
"Specifies the path in which config snippets are searched"
|
||||
:group 'config-snippets
|
||||
:type '(repeat directory))
|
||||
|
@ -83,12 +83,11 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
|||
ripgrep
|
||||
rust
|
||||
tramp
|
||||
wl
|
||||
yaml))
|
||||
|
||||
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
||||
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s.el" config-snippets config-snippet-path)
|
||||
(dolist (snippet config-snippets)
|
||||
(message "snippet: %s" snippet)
|
||||
(message "snippet: %s.el" snippet)
|
||||
(dolist (dir config-snippet-path)
|
||||
(message "dir: %s" dir)
|
||||
(let ((file-name (expand-file-name (concat dir (if (symbolp snippet)
|
||||
|
@ -97,4 +96,4 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
|||
(message "loading file")
|
||||
(if (file-readable-p file-name)
|
||||
(load-file file-name)
|
||||
(message "Config snippet not found: %s" snippet)))))
|
||||
(message "Config snippet not found: %s.el" snippet)))))
|
Loading…
Add table
Reference in a new issue