mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
37785: skip autoload parameters for "typeset -p"
This commit is contained in:
parent
69c86cd2c3
commit
10c5f95f52
2 changed files with 6 additions and 1 deletions
|
|
@ -5258,7 +5258,8 @@ printparamnode(HashNode hn, int printflags)
|
|||
|
||||
if (printflags & PRINT_TYPESET) {
|
||||
if ((p->node.flags & (PM_READONLY|PM_SPECIAL)) ==
|
||||
(PM_READONLY|PM_SPECIAL)) {
|
||||
(PM_READONLY|PM_SPECIAL) ||
|
||||
(p->node.flags & PM_AUTOLOAD)) {
|
||||
/*
|
||||
* It's not possible to restore the state of
|
||||
* these, so don't output.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue