summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-09 23:55:59 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-09 23:55:59 +0200
commitcd3812bdffa9d6a772e8ec7eda7b44ce290fc071 (patch)
tree777163fdef22c2908fd4348116ddb9fc6ac00e0e
parent811f47d7a47aa0da5281cdd0d3c88c946a3e6c0c (diff)
emacs: Formatting
-rw-r--r--.config/emacs/init.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index e305b76..7ad291b 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1,8 +1,8 @@
;;; init.el --- Emacs configuration file -*- lexical-binding: t; -*-
;;; Preamble
-(setq user-full-name "Thomas Voss")
-(setq user-mail-address "mail@thomasvoss.com")
+(setq user-full-name "Thomas Voss"
+ user-mail-address "mail@thomasvoss.com")
(when (< emacs-major-version 29)
(error "Emacs 29 or newer is required"))
@@ -260,8 +260,7 @@ tabs, regardless of the value of ‘indent-tabs-mode’."
(use-package marginalia
:after vertico
- :init
- (marginalia-mode))
+ :init (marginalia-mode))
(use-package orderless
:custom
@@ -502,9 +501,7 @@ directories if they kill the buffer without saving it."
(add-hook 'after-save-hook #'x-remove-auto-directory-hooks
'depth 'local)))))
-(dolist (command #'(find-file
- find-alternate-file
- write-file))
+(dolist (command #'(find-file find-alternate-file write-file))
(advice-add command :around #'x-auto-create-directories))
(defun x-delete-directories-if-appropriate ()