diff options
author | bd <bdunahu@operationnull.com> | 2024-10-31 23:02:25 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-10-31 23:02:25 -0400 |
commit | 8d9ee9214ef7af86a1ab494c9e2276fe4e2db373 (patch) | |
tree | ac1202d0bd1d2fa8e1c79b2cc12bb6577cf6f4ab /.config/emacs | |
parent | 05ccbaca9869f2cb89531ccc7cbd2be301ace548 (diff) |
Autoformat no longer indents---async shell command auto-hide
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/libraries/autoformat.el | 3 | ||||
-rw-r--r-- | .config/emacs/modules/bd--buffers.el | 3 | ||||
-rw-r--r-- | .config/emacs/modules/bd--minibuffer.el | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/.config/emacs/libraries/autoformat.el b/.config/emacs/libraries/autoformat.el index 6964131..5be5804 100644 --- a/.config/emacs/libraries/autoformat.el +++ b/.config/emacs/libraries/autoformat.el @@ -30,8 +30,7 @@ spaces with tabs." (delete-trailing-whitespace) (if autoformat-do-untabify (untabify (point-min) (point-max)) - (tabify (point-min) (point-max))) - (indent-region (point-min) (point-max)))) + (tabify (point-min) (point-max))))) (defun autoformat--prog-mode-hook () (add-hook 'before-save-hook #'autoformat--before-save-handler nil t)) diff --git a/.config/emacs/modules/bd--buffers.el b/.config/emacs/modules/bd--buffers.el index c2702f4..9250870 100644 --- a/.config/emacs/modules/bd--buffers.el +++ b/.config/emacs/modules/bd--buffers.el @@ -32,6 +32,7 @@ dedicated buffer will never be automatically orphaned." Due to a bug with guix-packaged emacs, only uses true-transparency on wayland." (interactive "nTransparency Value (30 - 100 opaque): ") (setq value (max 30 (min value 100))) + (set-frame-parameter (selected-frame) 'alpha `(,value . ,value)) (message "Alpha set to %d" value)) (add-to-list 'default-frame-alist '(alpha . (92 . 92))) @@ -42,6 +43,8 @@ Due to a bug with guix-packaged emacs, only uses true-transparency on wayland." (global-auto-revert-non-file-buffers t) (auto-revert-interval 30)) +(add-to-list 'display-buffer-alist + (cons "\\*Async Shell Command\\*.*" (cons #'display-buffer-no-window nil))) (use-package shackle :demand t :config diff --git a/.config/emacs/modules/bd--minibuffer.el b/.config/emacs/modules/bd--minibuffer.el index 1426528..29ec75e 100644 --- a/.config/emacs/modules/bd--minibuffer.el +++ b/.config/emacs/modules/bd--minibuffer.el @@ -16,6 +16,8 @@ "\\*Org Preview LaTeX Output\\*" "\\*Shell Command Output\\*" "\\*tramp" + "\\*eldoc" + "\\*server\\*" ) "Buffers that should not show up in buffer-related selection commands.") |