GNU bug report logs - #45673
28.0.50; Fix gnus-score-find-score-files-function example

Previous Next

Package: emacs;

Reported by: David Edmondson <dme <at> dme.org>

Date: Tue, 5 Jan 2021 12:19:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Edmondson <dme <at> dme.org>
To: 45673 <at> debbugs.gnu.org
Cc: David Edmondson <dme <at> dme.org>
Subject: bug#45673: [PATCH] Fix gnus-score-find-score-files-function example
Date: Tue,  5 Jan 2021 12:22:15 +0000
* doc/misc/gnus.texi (Score Variables): In the example showing how to
use a list of functions for gnus-score-find-score-files-find-function,
return a list of strings from the lambda rather than trying to call
the string as a function.
---
 doc/misc/gnus.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 797315d5b8..5a79cbc08f 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -20195,7 +20195,7 @@ Score Variables
 For example, to do hierarchical scoring but use a non-server-specific
 overall score file, you could use the value
 @example
-(list (lambda (group) ("all.SCORE"))
+(list (lambda (group) (list "all.SCORE"))
       'gnus-score-find-hierarchical)
 @end example
 
-- 
2.29.2





This bug report was last modified 4 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.