www.delorie.com/gnu/docs/emacs/dired-x_6.html   search  
 
Buy the book!


Dired Extra Version 2 User's Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.2 Optional Installation File At Point

If you choose to have `dired-x.el' bind dired-x-find-file over find-file (see section 8.1 Find File At Point), then you will need to set dired-x-hands-off-my-keys and make a call to the function dired-x-bind-find-file in the dired-load-hook:

 
(add-hook 'dired-load-hook 
          (lambda ()
            (load "dired-x")
            ;; Bind dired-x-find-file.
            (setq dired-x-hands-off-my-keys nil)
            ;; Make sure our binding preference is invoked.
            (dired-x-bind-find-file)
            ))

Alternatively, you can set the variable before `dired-x.el' is loaded

 
(add-hook 'dired-load-hook 
          (lambda ()
            ;; Bind dired-x-find-file.
            (setq dired-x-hands-off-my-keys nil)
            (load "dired-x")
            ))


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003