X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/8a2e0eef13e7e37e52b4fb7488d5fe4786389f72..032726b6100f17208cf1ad7497013f22b5ed8c91:/init.el 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