   ;; 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))
-  :hook (after-init . global-clipetty-mode))
+  :config (global-clipetty-mode))
 
 (require 'cc-mode)
 (setq c-default-style '((java-mode . "java")

	  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 warning-suppress-log-types '((comp) (use-package)))

;;; PACKAGES

(use-package gcmh
  :demand t
  :straight (:type built-in)
  :custom (gcmh-verbose t)
  :config
  (gcmh-mode))

(use-package desktop
  :demand t
