diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-09-04 15:51:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-04 19:17:00 +0200 |
commit | 94656e2eb053bbfcc317871a849fb3098ff4d4b9 (patch) | |
tree | d6acc140905432d95a56009cae7b8bbd2012c66d /doc/guix.texi | |
parent | f3ea876895f19b7460c2d3647578905cc80e0cfe (diff) | |
download | guix-94656e2eb053bbfcc317871a849fb3098ff4d4b9.tar.gz guix-94656e2eb053bbfcc317871a849fb3098ff4d4b9.zip |
doc: Add index entries for ‘assume-file-name’ & co.
* doc/guix.texi (G-Expressions): Add index entries for
‘assume-file-name’ and ‘assume-source-relative-file-name’.
Change-Id: Iee51fb09f4cbd32dacf90f03cafca973e8c993f8
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 3 insertions, 0 deletions
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 |