Indentation changes and Structural changes

This commit is contained in:
2024-06-05 09:53:46 -04:00
parent f8f64a0802
commit 937e5d5518

View File

@@ -38,18 +38,24 @@ replacement for defining configs and relations between packages etc.
(leaf leaf-tree :ensure t) (leaf leaf-tree :ensure t)
(leaf leaf-convert :ensure t) (leaf leaf-convert :ensure t)
(leaf transient-dwim (leaf transient-dwim :ensure t
:ensure t
:bind (("M-=" . transient-dwim-dispatch))) :bind (("M-=" . transient-dwim-dispatch)))
#+end_src #+end_src
** MacOS Specific
#+begin_src elisp :tangle yes
(when (eq system-type 'darwin)
(setq mac-option-modifier 'meta))
#+end_src
** Performance ** Performance
*** Garbage Collection *** Garbage Collection
#+begin_src elisp :tangle yes #+begin_src elisp :tangle yes
(leaf gcmh :ensure t (leaf gcmh :ensure t
:hook (after-init-hook)) :hook (after-init-hook))
#+end_src #+end_src
*** Profiling *** Profiling
@@ -65,10 +71,10 @@ Ensure that the =custom.el= resides in the users' emacs directory.
#+begin_src elisp :tangle yes #+begin_src elisp :tangle yes
(leaf custom-el (leaf custom-el
:config :config
;; Ensure custom writes to specific file ;; Ensure custom writes to specific file
(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file 'noerror 'nomessage)) (load custom-file 'noerror 'nomessage))
#+end_src #+end_src
*** Backups *** Backups
@@ -77,20 +83,13 @@ Set the backups directory to reside in the users' emacs directory.
#+begin_src elisp :tangle yes #+begin_src elisp :tangle yes
(leaf backup (leaf backup
:config :config
;; Change the location of file backups/locks into the emacs.d/backups/ ;; Change the location of file backups/locks into the emacs.d/backups/
(setq backup-directory-alist (setq backup-directory-alist
`(("." . ,(concat user-emacs-directory "backups"))))) `(("." . ,(concat user-emacs-directory "backups")))))
#+end_src #+end_src
* MacOS Specific ** Shell Path Preservation
#+begin_src elisp :tangle yes
(when (eq system-type 'darwin)
(setq mac-option-modifier 'meta))
#+end_src
** Path Preservation
Exec-path-from-shell ensures that path variable is preserved from Exec-path-from-shell ensures that path variable is preserved from
shell. shell.