Adopting the ballooning-mode representation and including the effects of radial envelope modulations, we have derived the corresponding linear eigenmode equation for the collisionless trapped-electron mode in tokamak plasmas. Numerical solutions of the eigenmode equation indicate that finite radial envelope modulations can affect the linear stability properties both quantitatively and qualitatively via the significant modifications in the corresponding eigenmode structures.