From 1126674db3382ce0323a5e4081a79d2c6137ae60 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 15 May 2024 16:01:40 -0700 Subject: emacs: rm dired preview-to-the-right fun --- .emacs.d/init.el | 8 -------- 1 file changed, 8 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 00c3890..248abcb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -147,14 +147,6 @@ "\\|gz\\|zst\\|tar\\|xz\\|rar\\|zip" "\\|iso\\|epub\\|pdf\\)")) - (defun my-dired-preview-to-the-right () - "My preferred `dired-preview-display-action-alist-function'." - '((display-buffer-in-side-window) - (side . right) - (width . 0.3))) - - (setq dired-preview-display-action-alist-function #'my-dired-preview-to-the-right) - (dired-preview-global-mode 1)) (add-hook 'dired-mode-hook #'dired-hide-details-mode) -- cgit v1.2.3