Enable dired-x whenever dired mode is invoked

This commit is contained in:
Laurens Miers 2024-09-24 20:27:16 +02:00
parent 55e765911e
commit 4233409d50

View file

@ -483,8 +483,20 @@ C-c C-c to apply."
* Dired
** Dired-x
#+begin_src emacs-lisp
(require 'dired-x)
(with-eval-after-load 'dired
(require 'dired-x)
;; Set dired-x global variables here. For example:
;; (setq dired-x-hands-off-my-keys nil)
))
(add-hook 'dired-mode-hook
(lambda ()
;; Set dired-x buffer-local variables here. For example:
;; (dired-omit-mode 1)
))
#+end_src
* Whole-line-or-region