replace my function copy-line with an advice of king-ring-save