summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.el b/init.el
index ec5c9ab..22b7b68 100644
--- a/init.el
+++ b/init.el
@@ -112,6 +112,14 @@
;; for emacs 27 and later, we use early-init.el. see
;; https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b
+(progn ; `borg'
+ (add-to-list 'load-path
+ (expand-file-name "lib/borg" user-emacs-directory))
+ (require 'borg)
+ (borg-initialize)
+ (setq borg-rewrite-urls-alist
+ '(("git@github.com:" . "https://github.com/")
+ ("git@gitlab.com:" . "https://gitlab.com/"))))
;; use-package
(if nil ; set to t when need to debug init
@@ -140,6 +148,17 @@
(defalias 'b/etc 'no-littering-expand-etc-file-name)
(defalias 'b/var 'no-littering-expand-var-file-name))
+(use-package auto-compile
+ :demand
+ :config
+ (auto-compile-on-load-mode)
+ (auto-compile-on-save-mode)
+ (setq auto-compile-display-buffer nil)
+ (setq auto-compile-mode-line-counter t)
+ (setq auto-compile-source-recreate-deletes-dest t)
+ (setq auto-compile-toggle-deletes-nonlib-dest t)
+ (setq auto-compile-update-autoloads t))
+
;; separate custom file (don't want it mixing with init.el)
(use-package custom
:no-require