From 94656e2eb053bbfcc317871a849fb3098ff4d4b9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Sep 2024 15:51:35 +0200 Subject: doc: Add index entries for ‘assume-file-name’ & co. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/guix.texi (G-Expressions): Add index entries for ‘assume-file-name’ and ‘assume-source-relative-file-name’. Change-Id: Iee51fb09f4cbd32dacf90f03cafca973e8c993f8 --- doc/guix.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index cb8efa1e50..b384b21771 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12239,6 +12239,7 @@ When @var{recursive?} is true, call @code{(@var{select?} @var{file} absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true. +@findex assume-valid-file-name @var{file} can be wrapped in the @code{assume-valid-file-name} syntactic keyword. When this is done, there will not be a warning when @code{local-file} is used with a non-literal path. The path is still @@ -12251,6 +12252,8 @@ Wrapping is done like this: (local-file (assume-valid-file-name alice-key-file-path)) @end lisp +@cindex relative file name, in @code{local-file} +@findex assume-source-relative-file-name @var{file} can be wrapped in the @code{assume-source-relative-file-name} syntactic keyword. When this is done, the file name will be looked up relative to the source file where it appears even when it is not a -- cgit v1.2.3