From cd3812bdffa9d6a772e8ec7eda7b44ce290fc071 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 9 Sep 2024 23:55:59 +0200 Subject: emacs: Formatting --- .config/emacs/init.el | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.config/emacs/init.el') 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 () -- cgit v1.2.3