Dired Extra Version 2 User's Manual. Node: Installation

PREV Technical Details UP Top NEXT Optional Installation Dired Jump

Chapter 2: Installation

This manual describes the dired features provided by the file `dired-x.el'. To take advantage of these features, you must load the file and (optionally) set some variables.

In your `.emacs' file in your home directory, or in the system-wide initialization file `default.el' in the `site-lisp' directory, put

(add-hook 'dired-load-hook
          (function (lambda ()
                      (load "dired-x")
                      ;; Set dired-x global variables here.  For example:
                      ;; (setq dired-guess-shell-gnutar "gtar")
                      ;; (setq dired-x-hands-off-my-keys nil)
                      )))
(add-hook 'dired-mode-hook
          (function (lambda ()
                      ;; Set dired-x buffer-local variables here.  For example:
                      ;; (setq dired-omit-files-p t)
                      )))

This will load `dired-x.el' when dired is first invoked (for example, when you first do C-x d).

  • Optional Installation Dired Jump
  • Optional Installation File At Point
  • Special Notes
  • PREV Technical Details UP Top NEXT Optional Installation Dired Jump