From: Eshel Yaron Date: Sat, 3 Sep 2022 15:44:57 +0000 (+0300) Subject: DOC: update manual section about filespec expansion X-Git-Tag: v0.2.0~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea43b81c95094078dabf79cd7de829777f010e5d;p=dict.git DOC: update manual section about filespec expansion --- 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: