From ea43b81c95094078dabf79cd7de829777f010e5d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 3 Sep 2022 18:44:57 +0300 Subject: [PATCH] DOC: update manual section about filespec expansion --- README.org | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 44c7f51..a72e9b2 100644 --- a/README.org +++ b/README.org @@ -326,15 +326,19 @@ command =M-x sweep-find-predicate= jumping to the definition a loaded or auto-loadable Prolog predicate. ** Prolog file specification expansion +:PROPERTIES: +:CUSTOM_ID: file-spec-expansion +:END: -=sweep= defines a handler for file name the Emacs function -=expand-file-file= that recognizes Prolog file specifications, such as -=library(lists)=, and expands them to the corresponding absolute paths. -This means that one can use Prolog file specifications with Emacs' -standard =find-file= (=C-x C-f=) to locate Prolog resources directly. +=sweep= defines a handler for the Emacs function =expand-file-file= that +recognizes Prolog file specifications, such as =library(lists)=, and +expands them to their corresponding absolute paths. This means that +one can use Prolog file specifications with Emacs' standard =find-file= +(=C-x C-f=) to locate Prolog resources directly. For example, typing =C-x C-f library(pldoc/doc_man)= will open the -source of the =pldoc_man= module from the Prolog library. +source of the =pldoc_man= module from the Prolog library, and likewise +=C-x C-f pack(.)= will open the Prolog packages directory. * Installing Prolog packages :PROPERTIES: -- 2.39.2