From: Mark Wooding Date: Thu, 14 Mar 2013 01:23:30 +0000 (+0000) Subject: dot/emacs: Turn on `dired-x' when something starts `dired'. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/d9d0aed3d7b81057e04f469d62974f498b9b9335 dot/emacs: Turn on `dired-x' when something starts `dired'. It turns out that this is where the `dired-omit-mode' stuff, which I found once, thought was ace, and then missed in many different Emacsen, actually comes from. Win. --- diff --git a/dot/emacs b/dot/emacs index 68c0068..8b48113 100644 --- a/dot/emacs +++ b/dot/emacs @@ -482,6 +482,7 @@ (or (lookup-key dired-mode-map [?\C-x ?\C-q]) (define-key dired-mode-map [?\C-x ?\C-q] 'wdired-change-to-wdired-mode)) + (trap (require 'dired-x)) (and (fboundp 'dired-do-relsymlink) (define-key dired-mode-map [?\C-c ?\C-s] 'dired-do-relsymlink))))