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

This commit is contained in:
Glenn Morris 2011-02-17 23:54:28 -08:00
parent d1be20a1d3
commit f31f846933
2 changed files with 7 additions and 16 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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