about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarlon Richert <marlon.richert@gmail.com>2023-05-18 23:53:27 +0300
committerOliver Kiddle <opk@zsh.org>2023-05-21 03:08:00 +0200
commit1f64d0912720ba35f92020c3c1e128039cac5df8 (patch)
tree466f8f02ebcb48cd3b1e06ca469b8fbc32d847e8
parentbb441f77a70bf7b5f13ab8f9113ba9b7a1593479 (diff)
downloadzsh-1f64d0912720ba35f92020c3c1e128039cac5df8.tar.gz
zsh-1f64d0912720ba35f92020c3c1e128039cac5df8.tar.xz
zsh-1f64d0912720ba35f92020c3c1e128039cac5df8.zip
51760: r and R were listed in the wrong order.
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/compwid.yo6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e1b1c7da4..2d4c68038 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2023-05-21  Oliver Kiddle  <opk@zsh.org>
 
+	* Marlon Richert: 51760: Doc/Zsh/compwid.yo: r and R were listed
+	in the wrong order.
+
 	* Marlon Richert: 51758: Test/Y01completion.ztst, Doc/Zsh/expn.yo,
 	Completion/Zsh/Context/_dynamic_directory_name: Make dynamic dir
 	completion easier to implement
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index d32a0702f..9461ace17 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -112,7 +112,7 @@ vindex(QIPREFIX)
 item(tt(QIPREFIX))(
 This parameter is read-only and contains the quoted string up to the
 word being completed. E.g. when completing `tt("foo)', this parameter
-contains the double quote. If the tt(-q) option of tt(compset) is used 
+contains the double quote. If the tt(-q) option of tt(compset) is used
 (see below), and the original string was `tt("foo bar)' with the
 cursor on the `tt(bar)', this parameter contains `tt("foo )'.
 )
@@ -1082,8 +1082,8 @@ enditem()
 )
 xitem(tt(l:)tt(|)var(word-pat)tt(=)var(match-pat))
 xitem(tt(L:)tt(|)var(word-pat)tt(=)var(match-pat))
-xitem(tt(R:)var(word-pat)tt(|)tt(=)var(match-pat))
-item(tt(r:)var(word-pat)tt(|)tt(=)var(match-pat))(
+xitem(tt(r:)var(word-pat)tt(|)tt(=)var(match-pat))
+item(tt(R:)var(word-pat)tt(|)tt(=)var(match-pat))(
 
 If there is a substring at the tt(l:)eft or tt(r:)ight edge of the current word
 that matches var(word-pat), then broaden the corresponding part of the match