Tex. Code Crim. Proc. art. 1.08
The writ of habeas corpus is a writ of right and shall never be suspended.
Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.