Cook sugar, salt, milk, cocoa, flour, and egg yolks in double boiler until thick.
Add vanilla and butter. Pour into baked pie crust.
Most of the time, Mother made a meringue from the egg whites and browned the pie in the oven. Later in life, she used either real whipped cream or Cool Whip instead, and I liked that just as much. Easier!