Duplicate lines in Emacs