@@ -992,21 +992,22 @@ _comp_initialize()
992992 local exclude=" " outx errx inx
993993
994994 if (( ${# FUNCNAME[@]} >= 2 )) ; then
995- # Install "_comp_finalize" to the RETURN trap when "_init_completion" is
996- # called for the top-level completion. [ Note: the completion function may
997- # be called recursively using "_command_offset", etc. ]
995+ # Install "_comp_finalize" to the RETURN trap when "_init_completion"
996+ # is called for the top-level completion. [ Note: the completion
997+ # function may be called recursively using "_command_offset", etc. ]
998998 if (( ${# _comp_finalize__depth[@]} == 0 )) ; then
999999 _comp_finalize__original_int_trap=$( trap -p INT)
10001000 if shopt -q extdebug || shopt -qo functrace; then
1001- # If extdebug / functrace is set, we need to explicitly save and
1002- # restore the original trap handler because the outer trap handlers
1003- # will be affected by "trap - RETURN" inside functions with these
1004- # settings.
1001+ # If extdebug / functrace is set, we need to explicitly save
1002+ # and restore the original trap handler because the outer trap
1003+ # handlers will be affected by "trap - RETURN" inside functions
1004+ # with these settings.
10051005 _comp_finalize__original_return_trap=$( trap -p RETURN)
10061006 else
1007- # Otherwise, the outer RETURN trap will be restored when the RETURN
1008- # trap is removed inside the functions using "trap - RETURN". So, we
1009- # do not need to explicitly save the outer trap handler.
1007+ # Otherwise, the outer RETURN trap will be restored when the
1008+ # RETURN trap is removed inside the functions using "trap -
1009+ # RETURN". So, we do not need to explicitly save the outer
1010+ # trap handler.
10101011 _comp_finalize__original_return_trap=
10111012 fi
10121013
0 commit comments