From bed44076dc1fbb75297b073279e82a13e294f1a0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 27 Mar 2000 04:29:55 +0000 Subject: Weed out redundant uses of `function' --- man/dired-x.texi | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'man/dired-x.texi') diff --git a/man/dired-x.texi b/man/dired-x.texi index 8860dff61e2..87d03afe266 100644 --- a/man/dired-x.texi +++ b/man/dired-x.texi @@ -290,17 +290,17 @@ initialization file @file{default.el} in the @file{site-lisp} directory, put @example (add-hook 'dired-load-hook - (function (lambda () - (load "dired-x") - ;; Set dired-x global variables here. For example: - ;; (setq dired-guess-shell-gnutar "gtar") - ;; (setq dired-x-hands-off-my-keys nil) - ))) + (lambda () + (load "dired-x") + ;; Set dired-x global variables here. For example: + ;; (setq dired-guess-shell-gnutar "gtar") + ;; (setq dired-x-hands-off-my-keys nil) + )) (add-hook 'dired-mode-hook - (function (lambda () - ;; Set dired-x buffer-local variables here. For example: - ;; (setq dired-omit-files-p t) - ))) + (lambda () + ;; Set dired-x buffer-local variables here. For example: + ;; (setq dired-omit-files-p t) + )) @end example @noindent @@ -367,13 +367,13 @@ If you choose to have @file{dired-x.el} bind @code{dired-x-find-file} over @example (add-hook 'dired-load-hook - (function (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) - ))) + (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 @@ -381,11 +381,11 @@ loaded @example (add-hook 'dired-load-hook - (function (lambda () - ;; Bind dired-x-find-file. - (setq dired-x-hands-off-my-keys nil) - (load "dired-x") - ))) + (lambda () + ;; Bind dired-x-find-file. + (setq dired-x-hands-off-my-keys nil) + (load "dired-x") + )) @end example @node Special Notes, Omitting Files in Dired, Optional Installation File At Point, Installation -- cgit v1.2.1