(isearch-yank-line): C-y yanks to next EOL, not end of current line.

This commit is contained in:
Eli Zaretskii 2004-10-08 17:02:16 +00:00
parent 9afed9b1fa
commit a1883913f8
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
2004-10-09 Masatake YAMATO <jet@gyve.org>
2004-10-08 Alan Mackenzie <acm@muc.de>
* isearch.el (isearch-yank-line): C-y yanks to next EOL, not end
of current line.
2004-10-08 Masatake YAMATO <jet@gyve.org>
* server.el (server-process-filter): Wrap `process-send-region'
by `condition-case' to guard the case when the pipe to PROC is

View file

@ -1254,8 +1254,8 @@ might return the position of the end of the line."
(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.