diff options
author | Clément Lassieur <clement@lassieur.org> | 2017-11-24 22:55:28 +0100 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2017-11-28 03:49:47 +0100 |
commit | 19ff1f2687ab5ceeee6335dce2794590d0f4aa27 (patch) | |
tree | 968cba781602e083b4bd9130f347758d718c9536 /gnu/services/messaging.scm | |
parent | 149b2c439e226c62e549bad7eecd649e1a3b8021 (diff) | |
download | guix-19ff1f2687ab5ceeee6335dce2794590d0f4aa27.tar.gz |
services: configuration: Show default values of list types.
* doc/guix.texi (Messaging Services): Regenerate it. * gnu/services/configuration.scm (show-default?): Check VAL rather than DEFAULT. * gnu/services/messaging.scm (show-default?): Check VAL rather than DEFAULT. (prosody-configuration)[modules-enabled]: Remove default value from docstring.
Diffstat (limited to 'gnu/services/messaging.scm')
-rw-r--r-- | gnu/services/messaging.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm index c75c715850..d57a7562a2 100644 --- a/gnu/services/messaging.scm +++ b/gnu/services/messaging.scm @@ -354,8 +354,8 @@ Example: @code{(admins '(\"user1@@example.com\" \"user2@@example.net\"))}" (module-list %default-modules-enabled) "This is the list of modules Prosody will load on startup. It looks for @code{mod_modulename.lua} in the plugins folder, so make sure that exists too. -Documentation on modules can be found at: @url{http://prosody.im/doc/modules}. -Defaults to @samp{%default-modules-enabled}." +Documentation on modules can be found at: +@url{http://prosody.im/doc/modules}." common) (modules-disabled @@ -722,7 +722,7 @@ See also @url{http://prosody.im/doc/modules/mod_muc}." (display c)) str)))) (define (show-default? val) - (or (string? default) (number? default) (boolean? default) + (or (string? val) (number? val) (boolean? val) (and (list? val) (and-map show-default? val)))) (format #t "@deftypevr {@code{~a} parameter} ~a ~a\n~a\n" configuration-name field-type field-name field-docs) |