2898. (a) A mortgage or deed of trust given for the price of real property, at the time of its conveyance, has priority over all other liens created against the purchaser, subject to the operation of the recording laws.
(b) The priority of the lien of a mortgage or deed of trust on an estate for years in real property shall be determined in the same manner as for determining the priority of a lien of a mortgage or deed of trust on real property.
(Amended by Stats. 1989, Ch. 698, Sec. 3.)