aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-10-08 17:02:16 +0000
committerEli Zaretskii2004-10-08 17:02:16 +0000
commita1883913f882a8a6e32bd08bfd8e6f4754b348db (patch)
treebdb7e6cd418df0865cd818d4dab4716de7abea08
parent9afed9b1fa5aa59623def395f6229e177e0810d0 (diff)
downloademacs-a1883913f882a8a6e32bd08bfd8e6f4754b348db.tar.gz
emacs-a1883913f882a8a6e32bd08bfd8e6f4754b348db.zip
(isearch-yank-line): C-y yanks to next EOL, not end of current line.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/isearch.el4
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 236993fd00b..f71d6800846 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,9 @@
12004-10-09 Masatake YAMATO <jet@gyve.org> 12004-10-08 Alan Mackenzie <acm@muc.de>
2
3 * isearch.el (isearch-yank-line): C-y yanks to next EOL, not end
4 of current line.
5
62004-10-08 Masatake YAMATO <jet@gyve.org>
2 7
3 * server.el (server-process-filter): Wrap `process-send-region' 8 * server.el (server-process-filter): Wrap `process-send-region'
4 by `condition-case' to guard the case when the pipe to PROC is 9 by `condition-case' to guard the case when the pipe to PROC is
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 96a3e0e0ac2..45ac5b4d286 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1254,8 +1254,8 @@ might return the position of the end of the line."
1254(defun isearch-yank-line () 1254(defun isearch-yank-line ()
1255 "Pull rest of line from buffer into search string." 1255 "Pull rest of line from buffer into search string."
1256 (interactive) 1256 (interactive)
1257 (isearch-yank-internal 'line-end-position)) 1257 (isearch-yank-internal
1258 1258 (lambda () (line-end-position (if (eolp) 2 1)))))
1259 1259
1260(defun isearch-search-and-update () 1260(defun isearch-search-and-update ()
1261 ;; Do the search and update the display. 1261 ;; Do the search and update the display.