From: Glenn Morris Date: Fri, 18 Feb 2011 07:54:28 +0000 (-0800) Subject: * doc/misc/dired-x.texi (Optional Installation File At Point): Simplify. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~823 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f31f846933e75007e9750ac6f6cd209a26c3daf1;p=emacs.git * doc/misc/dired-x.texi (Optional Installation File At Point): Simplify. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index c075f1785d3..b0d006ce14b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,7 @@ +2011-02-18 Glenn Morris + + * dired-x.texi (Optional Installation File At Point): Simplify. + 2011-02-17 Teodor Zlatanov * auth.texi (Help for users): Use :port instead of :protocol for all diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index c16858beffd..eff8e4600bd 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi @@ -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