diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-06-21 12:21:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-11 00:49:15 +0200 |
commit | ef1432f064abeb9f902c6917c540e143492a5de4 (patch) | |
tree | 913591a3994d936e79997716d4f0d0af562619ca /gnu | |
parent | 4dcc6067661c261cd9c5663e20b291a7eccaab75 (diff) | |
download | guix-ef1432f064abeb9f902c6917c540e143492a5de4.tar.gz guix-ef1432f064abeb9f902c6917c540e143492a5de4.zip |
utils: Add 'go-to-location' with source location caching.
* guix/utils.scm (%source-location-map): New variable.
(go-to-location): New procedure.
(edit-expression): Use it instead of custom loop.
* guix/packages.scm (package-field-location)[goto]: Remove.
Use 'go-to-location' instead of 'goto'.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions