From f31f846933e75007e9750ac6f6cd209a26c3daf1 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 17 Feb 2011 23:54:28 -0800 Subject: [PATCH] * doc/misc/dired-x.texi (Optional Installation File At Point): Simplify. --- doc/misc/ChangeLog | 4 ++++ doc/misc/dired-x.texi | 19 +++---------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index c075f1785d..b0d006ce14 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 c16858beff..eff8e4600b 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 -- 2.20.1