mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
services: messaging: Fix two copy-paste mistakes; avoid warnings.
* gnu/services/messaging.scm (file-name-list, file-object-list): Fix name in 'define-maybe' instances. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
84e0cbbc9c
commit
9ef6d80ef4
1 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ (define (file-name-list? val)
|
||||||
(and (list? val) (and-map file-name? val)))
|
(and (list? val) (and-map file-name? val)))
|
||||||
(define (serialize-file-name-list field-name val)
|
(define (serialize-file-name-list field-name val)
|
||||||
(serialize-string-list field-name val))
|
(serialize-string-list field-name val))
|
||||||
(define-maybe file-name)
|
(define-maybe file-name-list)
|
||||||
|
|
||||||
(define (file-object? val)
|
(define (file-object? val)
|
||||||
(or (file-like? val) (file-name? val)))
|
(or (file-like? val) (file-name? val)))
|
||||||
|
@ -192,7 +192,7 @@ (define (file-object-list? val)
|
||||||
(and (list? val) (and-map file-object? val)))
|
(and (list? val) (and-map file-object? val)))
|
||||||
(define (serialize-file-object-list field-name val)
|
(define (serialize-file-object-list field-name val)
|
||||||
(serialize-string-list field-name val))
|
(serialize-string-list field-name val))
|
||||||
(define-maybe file-object)
|
(define-maybe file-object-list)
|
||||||
|
|
||||||
(define (raw-content? val)
|
(define (raw-content? val)
|
||||||
(not (eq? val 'disabled)))
|
(not (eq? val 'disabled)))
|
||||||
|
|
Loading…
Reference in a new issue