Remove all org files using a new script to more config over, The old org file configuaration were great but required org. This new version only requires the scripts that is included in the repo. The configuration are all done but have not ported the theming system yet. Signed-off-by: Steve Beaulac <steve@sagacity.ca> Change-Id: I14cd7fe058a71c8ba9d6d35397dc8d7e6a6a6964
55 lines
1.5 KiB
EmacsLisp
55 lines
1.5 KiB
EmacsLisp
;;;; post-early-init.el --- Early Init -*- no-byte-compile: t; lexical-binding: t; -*-
|
|
;; Compile warnings
|
|
|
|
(setq warning-minimum-level :emergency)
|
|
(setq warning-minimum-log-level :emergency)
|
|
(setq gc-cons-percentage 0.6)
|
|
|
|
;; Revert Dired and other buffers
|
|
(customize-set-variable 'global-auto-revert-non-file-buffers t)
|
|
|
|
;; Revert buffers when the underlying file has changed
|
|
(add-hook 'after-init-hooks #'global-auto-revert-mode)
|
|
(setq auto-revert-interval 1)
|
|
|
|
(setq-default default-frame-alist '((undecorated . t)))
|
|
|
|
(setq process-adaptive-read-buffering nil)
|
|
|
|
(add-hook 'focus-out-hook #'garbage-collect)
|
|
;(add-hook 'after-save-hook #'garbage-collect)
|
|
;(run-with-idle-timer 5 t (lambda () (garbage-collect)))
|
|
|
|
(setq-default ispell-program-name "aspell")
|
|
(setq-default ispell-local-dictionary "english")
|
|
|
|
(when (fboundp 'set-scroll-bar-mode)
|
|
(set-scroll-bar-mode nil))
|
|
|
|
(when (fboundp 'pixel-scroll-precision-mode)
|
|
(setq pixel-scroll-precision-large-scroll-height 40.0)
|
|
(pixel-scroll-precision-mode 1))
|
|
|
|
(when (fboundp 'pixel-scroll-mode)
|
|
(pixel-scroll-mode 1))
|
|
|
|
(setq tramp-default-host "localhost")
|
|
|
|
;; disable startup messages
|
|
(setq inhibit-startup-message t)
|
|
|
|
(setq large-file-warning-threshold nil)
|
|
|
|
;;; package.el
|
|
;;(setq use-package-expand-minimally t)
|
|
;;(setq package-install-upgrade-built-in t)
|
|
;;(setq use-package-enable-imenu-support t)
|
|
|
|
(when init-file-debug
|
|
(setq use-package-verbose t
|
|
use-package-debug t
|
|
use-package-expand-minimally nil
|
|
use-package-compute-statistics t
|
|
debug-on-error t))
|
|
|
|
(provide 'post-early-init) |