Example 3.19. Deferring user-defined variable expansion to runtime
includes the following macro snippet:

    <enter-command> set my_old_pager_stop=\$pager_stop pager_stop<Enter>\

The duplicate `pager_stop` was part of the initial addition of this
example in 45df60b1 (Document $my_ variables and add a section about how
to calculate the header cache file name for a given folder.  Modified
for clarity., 2006-07-14).

Later, 0f8900eb (Manual: stop using DocBook entities mapping to ascii
chars, 2009-06-27) removed the excessive use of HTML entities.  That was
a large change, which I can only hope was performed mechanically, so
it's not surprising this minor duplication was missed in both commits.

The second `pager_stop` serves no purpose.  Remove it.
---
 doc/manual.xml.head | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/manual.xml.head b/doc/manual.xml.head
index 227c4b13..0a222607 100644
--- a/doc/manual.xml.head
+++ b/doc/manual.xml.head
@@ -5179,7 +5179,7 @@ dollar sign.
 <title>Deferring user-defined variable expansion to runtime</title>
 <screen>
 macro pager &lt;PageDown&gt; "\
-&lt;enter-command&gt; set my_old_pager_stop=\$pager_stop 
pager_stop&lt;Enter&gt;\
+&lt;enter-command&gt; set my_old_pager_stop=\$pager_stop&lt;Enter&gt;\
 &lt;next-page&gt;\
 &lt;enter-command&gt; set pager_stop=\$my_old_pager_stop&lt;Enter&gt;\
 &lt;enter-command&gt; unset my_old_pager_stop&lt;Enter&gt;"
-- 
2.56.1

Reply via email to