summaryrefslogtreecommitdiff
path: root/man/dired-x.texi
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-03-27 04:29:55 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-03-27 04:29:55 +0000
commitbed44076dc1fbb75297b073279e82a13e294f1a0 (patch)
treee7515158d152534500774a2bb7c652c5f4739e7c /man/dired-x.texi
parent8c085080baf318ec0fc376414c5d9202c314a398 (diff)
downloademacs-bed44076dc1fbb75297b073279e82a13e294f1a0.tar.gz
Weed out redundant uses of `function'
Diffstat (limited to 'man/dired-x.texi')
-rw-r--r--man/dired-x.texi44
1 files changed, 22 insertions, 22 deletions
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