summaryrefslogtreecommitdiff
path: root/man/gnus-faq.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/gnus-faq.texi
parent8c085080baf318ec0fc376414c5d9202c314a398 (diff)
downloademacs-bed44076dc1fbb75297b073279e82a13e294f1a0.tar.gz
Weed out redundant uses of `function'
Diffstat (limited to 'man/gnus-faq.texi')
-rw-r--r--man/gnus-faq.texi31
1 files changed, 15 insertions, 16 deletions
diff --git a/man/gnus-faq.texi b/man/gnus-faq.texi
index a899e7def45..466c1636fa4 100644
--- a/man/gnus-faq.texi
+++ b/man/gnus-faq.texi
@@ -529,22 +529,21 @@ This is what I use...customize as necessary...
;;; Don't auto-select first article if reading sources, or archives or
;;; jobs postings, etc. and just display the summary buffer
(add-hook 'gnus-select-group-hook
- (function
- (lambda ()
- (cond ((string-match "sources" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- ((string-match "jobs" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- ((string-match "comp\\.archives" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- ((string-match "reviews" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- ((string-match "announce" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- ((string-match "binaries" gnus-newsgroup-name)
- (setq gnus-auto-select-first nil))
- (t
- (setq gnus-auto-select-first t))))))
+ (lambda ()
+ (cond ((string-match "sources" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ ((string-match "jobs" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ ((string-match "comp\\.archives" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ ((string-match "reviews" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ ((string-match "announce" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ ((string-match "binaries" gnus-newsgroup-name)
+ (setq gnus-auto-select-first nil))
+ (t
+ (setq gnus-auto-select-first t)))))
@end lisp
@item