|
|
@ -16,20 +16,6 @@
|
|
|
|
(straight-use-package 'use-package)
|
|
|
|
(straight-use-package 'use-package)
|
|
|
|
(setq straight-use-package-by-default t)
|
|
|
|
(setq straight-use-package-by-default t)
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
;; Keep emacs clean!
|
|
|
|
|
|
|
|
;; Change the user-emacs-directory to keep unwanted things out of ~/.emacs.d
|
|
|
|
|
|
|
|
(setq user-emacs-directory (expand-file-name "~/.cache/emacs/")
|
|
|
|
|
|
|
|
url-history-file (expand-file-name "url/history" user-emacs-directory))
|
|
|
|
|
|
|
|
;; Use no-littering to automatically set common paths to the new user-emacs-directory
|
|
|
|
|
|
|
|
(use-package no-littering)
|
|
|
|
|
|
|
|
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
|
|
|
|
|
|
|
(load-file custom-file) ;; custom-file not loaded with fancy home variables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
;; Install org-mode
|
|
|
|
|
|
|
|
(straight-use-package 'org)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Helper functions
|
|
|
|
;; Helper functions
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +30,20 @@
|
|
|
|
;; (if (file-readable-p f)
|
|
|
|
;; (if (file-readable-p f)
|
|
|
|
;; (org-babel-load-file (f))))
|
|
|
|
;; (org-babel-load-file (f))))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
;; Keep emacs clean!
|
|
|
|
|
|
|
|
;; Change the user-emacs-directory to keep unwanted things out of ~/.emacs.d
|
|
|
|
|
|
|
|
(setq user-emacs-directory (expand-file-name "~/.cache/emacs/")
|
|
|
|
|
|
|
|
url-history-file (expand-file-name "url/history" user-emacs-directory))
|
|
|
|
|
|
|
|
;; Use no-littering to automatically set common paths to the new user-emacs-directory
|
|
|
|
|
|
|
|
(use-package no-littering)
|
|
|
|
|
|
|
|
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
|
|
|
|
|
|
|
(load-elisp-if-exists custom-file) ;; custom-file not loaded with fancy home variables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
;; Install org-mode
|
|
|
|
|
|
|
|
(straight-use-package 'org)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Load myconfig file.
|
|
|
|
;; Load myconfig file.
|
|
|
|