def insert_last(): """Inserts the last paste into current buffer""" paste = lodgeit.get_last_paste() lisp.insert(paste.code)
def fetch_last(): """Fetches last paste and inserts it into a new buffer""" paste = lodgeit.get_last_paste() new_buffer_from_paste(paste)