Commit f31f8469 authored by Glenn Morris's avatar Glenn Morris

* doc/misc/dired-x.texi (Optional Installation File At Point): Simplify.

parent d1be20a1
2011-02-18 Glenn Morris <rgm@gnu.org>
* dired-x.texi (Optional Installation File At Point): Simplify.
2011-02-17 Teodor Zlatanov <tzz@lifelogs.com>
* auth.texi (Help for users): Use :port instead of :protocol for all
......
......@@ -264,22 +264,9 @@ for these functions. In your @file{.emacs} file put
@cindex Binding @code{dired-x-find-file}
If you choose to have @file{dired-x.el} bind @code{dired-x-find-file} over
@code{find-file} (@pxref{Find File At Point}), then you will need to set
@code{dired-x-hands-off-my-keys} and make a call to the function
@code{dired-x-bind-find-file} in the @code{dired-load-hook}:
@example
(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)
))
@end example
Alternatively, you can set the variable @emph{before} @file{dired-x.el} is
loaded
@code{dired-x-hands-off-my-keys}. To do this, either set it
@emph{before} @file{dired-x.el} is loaded, or use @kbd{M-x customize-variable},
or call @code{dired-x-bind-find-file} after changing the value.
@example
(add-hook 'dired-load-hook
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment