From 958780da2d97ea902cb75061b8c51922749a06df Mon Sep 17 00:00:00 2001 From: gered Date: Tue, 3 Dec 2024 11:16:34 -0500 Subject: [PATCH] reformat various files, removing tabs --- emacs.d/early-init.el | 2 +- emacs.d/editing.el | 5 +++-- emacs.d/git.el | 3 ++- emacs.d/misc.el | 6 +++--- emacs.d/packages.el | 6 +++--- emacs.d/ui.el | 11 ++++++----- 6 files changed, 18 insertions(+), 15 deletions(-) diff --git a/emacs.d/early-init.el b/emacs.d/early-init.el index 3bf45d0..27c0f76 100644 --- a/emacs.d/early-init.el +++ b/emacs.d/early-init.el @@ -20,4 +20,4 @@ ;; TODO: figure out what these width/height numbers are exactly. they don't seem to be characters? (setq default-frame-alist '((width . 165) - (height . 59))) + (height . 59))) diff --git a/emacs.d/editing.el b/emacs.d/editing.el index 63a0d27..129cd4b 100644 --- a/emacs.d/editing.el +++ b/emacs.d/editing.el @@ -21,8 +21,9 @@ (use-package corfu :ensure t :hook (after-init . global-corfu-mode) - :bind (:map corfu-map - ("" . corfu-complete)) + :bind + ( :map corfu-map + ("" . corfu-complete)) :config (setq tab-always-indent 'complete) (setq corfu-preview-current nil) diff --git a/emacs.d/git.el b/emacs.d/git.el index 10a40b9..5de599f 100644 --- a/emacs.d/git.el +++ b/emacs.d/git.el @@ -1,3 +1,4 @@ (use-package magit :ensure t - :bind (("C-x g" . magit-status))) + :bind + (("C-x g" . magit-status))) diff --git a/emacs.d/misc.el b/emacs.d/misc.el index e78215a..eb6ee3d 100644 --- a/emacs.d/misc.el +++ b/emacs.d/misc.el @@ -25,9 +25,9 @@ "Return a new file path for a given file path. If the new path's directory does not exist, this will create them." (let* ((backup-root-dir "~/.emacs.d/backup/") - (file-path (replace-regexp-in-string "[A-Za-z]:" "" fpath)) ; remove Windows drive letter - (backup-file-path (replace-regexp-in-string "//" "/" (concat backup-root-dir file-path "~")))) + (file-path (replace-regexp-in-string "[A-Za-z]:" "" fpath)) ; remove Windows drive letter + (backup-file-path (replace-regexp-in-string "//" "/" (concat backup-root-dir file-path "~")))) (make-directory (file-name-directory backup-file-path) - (file-name-directory backup-file-path)) + (file-name-directory backup-file-path)) backup-file-path)) (setopt make-backup-file-name-function 'get-emacsd-backup-file-name) diff --git a/emacs.d/packages.el b/emacs.d/packages.el index 4b32b9e..d0e8f03 100644 --- a/emacs.d/packages.el +++ b/emacs.d/packages.el @@ -4,6 +4,6 @@ ;; do not show warnings when installing packages (add-to-list 'display-buffer-alist - '("\\`\\*\\(Warnings\\|Compile-Log\\)\\*\\'" - (display-buffer-no-window) - (allow-no-window . t))) + '("\\`\\*\\(Warnings\\|Compile-Log\\)\\*\\'" + (display-buffer-no-window) + (allow-no-window . t))) diff --git a/emacs.d/ui.el b/emacs.d/ui.el index 202c6c6..76ace5b 100644 --- a/emacs.d/ui.el +++ b/emacs.d/ui.el @@ -7,7 +7,7 @@ (add-hook 'text-mode-hook 'visual-line-mode) (dolist (hook '(text-mode-hook - prog-mode-hook)) + prog-mode-hook)) (add-hook hook 'hl-line-mode)) (setopt x-underline-at-descent-line nil) @@ -77,10 +77,11 @@ (use-package helpful :ensure t - :bind (([remap describe-function] . helpful-callable) - ([remap describe-variable] . helpful-variable) - ([remap describe-key] . helpful-key) - ([remap describe-command] . helpful-command))) + :bind + (([remap describe-function] . helpful-callable) + ([remap describe-variable] . helpful-variable) + ([remap describe-key] . helpful-key) + ([remap describe-command] . helpful-command))) (use-package kind-icon :ensure t