(defun get-continue-string () (interactive) (skip-chars-backward "^ \n") (setq low (point)) (skip-chars-forward "^ \n") (setq high (point)) (copy-region-as-kill low high) (message (buffer-substring low high))) (global-set-key (kbd "C-x y") 'get-continue-string)