From 4e3d08fea8b82a638211b02fbaa7772cf1b2863d Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 2 May 2020 02:41:26 +0000 Subject: unposted: docs: Fix some markup and typos. --- Doc/Zsh/contrib.yo | 4 ++-- Doc/Zsh/expn.yo | 4 ++-- Doc/Zsh/mod_mapfile.yo | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index b9f48e8af..c611ff43b 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -598,7 +598,7 @@ changes to descendant directories; earlier directories on the list are not pruned. For example, changing from ~pws/yet/another to ~pws/some/other/dir does not cause ~pws to be pruned. ) -item(tt(pattern:var(pattern)))( +item(tt(pattern:)var(pattern))( Gives a zsh pattern for directories that should not be added to the recent list (if not already there). This element can be repeated to add different patterns. For example, @@ -660,7 +660,7 @@ sect(Abbreviated dynamic references to directories) The dynamic directory naming system is described in the subsection em(Dynamic named directories) of -ifzman(the section em(Filename Expansion) in zmanref(expn))\ +ifzman(the section em(Filename Expansion) in zmanref(zshexpn))\ ifnzman(noderef(Filename Expansion)). In this, a reference to tt(~[)var(...)tt(]) is expanded by a function found by the hooks mechanism. diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 69cb0b08a..3800f2fb0 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -2900,8 +2900,8 @@ repeated, but note that the maximum number of sort operators of any kind that may appear in any glob expression is 12. ) item(tt(O)var(c))( -like `tt(o)', but sorts in descending order; i.e. `tt(*(^oc))' is the -same as `tt(*(Oc))' and `tt(*(^Oc))' is the same as `tt(*(oc))'; `tt(Od)' +like `tt(o)', but sorts in descending order; i.e. `tt(*+LPAR()^o)var(c)tt(+RPAR())' is the +same as `tt(*+LPAR()O)var(c)tt(+RPAR())' and `tt(*+LPAR()^O)var(c)tt(+RPAR())' is the same as `tt(*+LPAR()o)var(c)tt(+RPAR())'; `tt(Od)' puts files in the current directory before those in subdirectories at each level of the search. ) diff --git a/Doc/Zsh/mod_mapfile.yo b/Doc/Zsh/mod_mapfile.yo index 640beeb12..9d8f07214 100644 --- a/Doc/Zsh/mod_mapfile.yo +++ b/Doc/Zsh/mod_mapfile.yo @@ -13,7 +13,7 @@ value is the content of the file. The value is treated identically to any other text coming from a parameter. The value may also be assigned to, in which case the file in question is written (whether or not it originally existed); or an element may be unset, which will delete the file in -question. For example, `tt(vared mapfile[myfile])' works as expected, +question. For example, `tt(vared 'mapfile[myfile]')' works as expected, editing the file `tt(myfile)'. When the array is accessed as a whole, the keys are the names of files in -- cgit 1.4.1