read the book through Page 100, before section "Constraining refill". Look into function (add-hook) M-x aprops add-hook or C-h f add-hook