Commit 28c3247
refactor: normalize unset positions of call-once functions
* bash_completion (_comp_dequote__initialize): The initialization
function "_comp_dequote__initialize" has been unset itself at the
beginning, but other similar call-once functions unset themselves at
the end of the functions. We make "_comp_dequote__initialize" unset
itself at the end for consistency with the other call-once
functions.
* completions/vncviewer (_comp_cmd_vncviewer__bootstrap): This
function wants to return the exit status of the dispatched function,
so we unset the function just before the processing of the
dispatched function, following an existing function
"_comp_cmd_makepkg__bootstrap".1 parent 5d5ccb3 commit 28c3247
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments