 	  try-expand-line
 	  try-complete-lisp-symbol-partially
 	  try-complete-lisp-symbol)))
-
-(setq require-final-newline t
-      backup-by-copying t
-      backup-directory-alist `((".*" . ,(locate-user-emacs-file "backups")))
-      auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
-      delete-old-versions t
-      kept-new-versions 20
-      kept-old-versions 10
-      version-control t)
 
 (use-package ag
   :custom

      straight-check-for-modifications nil
      straight-disable-native-compile t)

(setq use-package-always-defer t
      use-package-always-ensure t
      use-package-ignore-unknown-keywords t
      use-package-verbose nil
      use-package-compute-statistics t)

(setq warning-suppress-log-types '((comp) (use-package)))

(use-package gcmh
  ;;:ensure nil
  :defer nil
  :straight (:type built-in)
  ;;:load-path (lambda () (expand-file-name "gcmh" user-emacs-directory))
  :diminish gcmh-mode
  :commands (gcmh-mode)
  :init
  (setq gcmh-idle-delay 0.5
	gcmh-high-cons-threshold (* 16 1024 1024))
  (gcmh-mode 1))

;;; PACKAGES

(use-package nov
  :mode "\\.epub\\'"
  :config (setq nov-text-width 80))

;; (require 'nov)
;; (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
;;

(use-package desktop
  :demand t

  ;; global minor modes. To that end, Clipetty has a function called
  ;; clipetty-kill-ring-save which I like to bind to M-w like so:
  ;; :bind ("M-w" . clipetty-kill-ring-save))
  :config (global-clipetty-mode))

(require 'cc-mode)
(setq c-default-style '((java-mode . "java")
