1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-21 03:12:01 +02:00

20397: Fix places where texinfo changes "--" to "-"

This commit is contained in:
Bart Schaefer 2004-09-22 04:37:00 +00:00
parent f212e8072d
commit fc960bad4e
4 changed files with 11 additions and 4 deletions

View File

@ -6,6 +6,11 @@
* 20398: Src/Zle/zle_main.c: allow clean exit from within
a zle widget function.
2004-09-20 Bart Schaefer <schaefer@zsh.org>
* 20397: Doc/zmacros.yo, Doc/Zsh/invoke.yo, Doc/Zsh/zle.yo: tweaks
to account for texinfo's tendency to condense "--" into "-".
2004-09-20 Peter Stephenson <pws@csr.com>
* 20391: Src/params.c: SHLVL didn't get updated in the

View File

@ -80,8 +80,8 @@ is permitted and does not end option processing.
Except when the bf(sh)/bf(ksh) emulation single-letter options are in effect,
the option `tt(-b)' (or `tt(PLUS()b)') ends option processing.
`tt(-b)' is like `tt(--)', except that further single-letter options can be
stacked after the `tt(-b)' and will take effect as normal.
`tt(-b)' is like `tt(-)tt(-)', except that further single-letter options
can be stacked after the `tt(-b)' and will take effect as normal.
startmenu()
menu(Compatibility)

View File

@ -1491,7 +1491,7 @@ Inside a widget function, a call to this function treats the last key of
the key sequence which called the widget as the digit.
)
tindex(neg-argument)
item(tt(neg-argument) (ESC--) (unbound) (unbound))(
item(tt(neg-argument) (ESC-DASH()) (unbound) (unbound))(
Changes the sign of the following argument.
)
tindex(universal-argument)

View File

@ -19,7 +19,9 @@ DEFINEMACRO(redef)(3)(\
DEFINEMACRO(LPAR)(0)(CHAR(40))
DEFINEMACRO(RPAR)(0)(CHAR(41))
DEFINEMACRO(PLUS)(0)(CHAR(+))
DEFINEMACRO(PLUS)(0)(CHAR(43))
DEFINEMACRO(DASH)(0)(ifztexi(--)ifnztexi(-))
DEFINEMACRO(NL)(0)(
)