# HG changeset patch # User Eli Zaretskii # Date 1097254817 0 # Node ID a3021a22f48b2d1b7e034638de3c43bfec7413c0 # Parent ea05d398b4d7722b8b4048dabc9dc32ba19ac422 (isearch-yank-line): C-y yanks to next EOL, not end of current line. diff -r ea05d398b4d7 -r a3021a22f48b lisp/isearch.el --- a/lisp/isearch.el Fri Oct 08 15:50:59 2004 +0000 +++ b/lisp/isearch.el Fri Oct 08 17:00:17 2004 +0000 @@ -1254,8 +1254,8 @@ (defun isearch-yank-line () "Pull rest of line from buffer into search string." (interactive) - (isearch-yank-internal 'line-end-position)) - + (isearch-yank-internal + (lambda () (line-end-position (if (eolp) 2 1))))) (defun isearch-search-and-update () ;; Do the search and update the display.