by shigemk2

当面は技術的なことしか書かない

前の行の文字列を取得する

(forward-line -1)
(thing-at-point 'line t)

stackoverflow.com