Add last-term-buffer and get-term for multi-term