Mercurial > emacs
diff lisp/isearch.el @ 57380:a3021a22f48b
(isearch-yank-line): C-y yanks to next EOL, not end of current line.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 08 Oct 2004 17:00:17 +0000 |
parents | e2c34e75e585 |
children | 5eaafc3a7357 ff0e824afa37 |
line wrap: on
line diff
--- 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.