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. --- ChangeLog | 6 ++++++ Doc/Zsh/contrib.yo | 4 ++-- Doc/Zsh/expn.yo | 4 ++-- Doc/Zsh/mod_mapfile.yo | 2 +- Etc/FAQ.yo | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index b48d6a40c..9b58db95c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-06-26 Daniel Shahaf + + * unposted: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, + Doc/Zsh/mod_mapfile.yo, Etc/FAQ.yo: docs: Fix some markup + and typos. + 2020-06-26 Peter Stephenson * 46110: Src/subst.c, Test/D03procsubst.ztst: If =subst occurs 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 diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index e4197a069..45502bede 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -2548,7 +2548,7 @@ label(62) zsh-workers-subscribe@zsh.org ) (the actual content is unimportant). Replace tt(subscribe) with - tt(unsubscribe) to unsubscribe. The mailing software (tt(ezlm)) has + tt(unsubscribe) to unsubscribe. The mailing software (tt(ezmlm)) has various bells and whistles: you can retrieve archived messages. Mail email(zsh-workers-help@zsh.org) for detailed information. Administrative matters are best sent to -- cgit 1.4.1