From 8c56be82235e4112210b7990ca4dd1f761fa1401 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 20 Dec 2024 23:54:47 -0500 Subject: switch back to setopt rather than custom --- .config/emacs/modules/bd--buffers.el | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to '.config/emacs/modules/bd--buffers.el') diff --git a/.config/emacs/modules/bd--buffers.el b/.config/emacs/modules/bd--buffers.el index a8e3cbe..986a932 100644 --- a/.config/emacs/modules/bd--buffers.el +++ b/.config/emacs/modules/bd--buffers.el @@ -8,30 +8,28 @@ (use-package autorevert :init (global-auto-revert-mode) - :custom - (global-auto-revert-non-file-buffers t) - (auto-revert-interval 30)) + :config + (setopt global-auto-revert-non-file-buffers t + auto-revert-interval 30)) (use-package shackle :demand t :config (shackle-mode) - :custom - (switch-to-buffer-obey-display-actions t) - (shackle-rules '( - ;; native - (compilation-mode :select nil :align bottom :size 0.2) - (completion-list-mode :select nil :align bottom :size 0.1) - ("^\\*Async Shell Command\\*.*$" :regexp t :ignore t) - ;; magit - (magit-status-mode :select t :align bottom :size 0.3) - (magit-diff-mode :select nil :align right :size 0.3) - ;; emms - (emms-playlist-mode :select t :align left :size 0.2) - ))) - + (setopt switch-to-buffer-obey-display-actions t + shackle-rules + '( + ;; native + (compilation-mode :select nil :align bottom :size 0.2) + (completion-list-mode :select nil :align bottom :size 0.1) + ("^\\*Async Shell Command\\*.*$" :regexp t :ignore t) + ;; magit + (magit-status-mode :select t :align bottom :size 0.3) + (magit-diff-mode :select nil :align right :size 0.3) + ;; emms + (emms-playlist-mode :select t :align left :size 0.2) + ))) -(add-to-list 'default-frame-alist '(alpha . (92 . 92))) (defun bd/layout--do-with-haste (f) (let* ((args (transient-args 'bd/layout-dispatcher)) -- cgit v1.2.3