# HG changeset patch # User Romain Francoise # Date 1152443059 0 # Node ID efe1646601d6693de1ae9051f89d3a5227871da3 # Parent 125374685aecd530d3dec591acbbc91a14796426 (isearch-yank-line): Let-bind `inhibit-field-text-motion' to t. diff -r 125374685aec -r efe1646601d6 lisp/ChangeLog --- a/lisp/ChangeLog Sun Jul 09 05:20:42 2006 +0000 +++ b/lisp/ChangeLog Sun Jul 09 11:04:19 2006 +0000 @@ -1,3 +1,8 @@ +2006-07-09 Romain Francoise + + * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion' + to t. + 2006-07-09 Stefan Monnier * textmodes/fill.el (fill-region-as-paragraph): Refine last change. diff -r 125374685aec -r efe1646601d6 lisp/isearch.el --- a/lisp/isearch.el Sun Jul 09 05:20:42 2006 +0000 +++ b/lisp/isearch.el Sun Jul 09 11:04:19 2006 +0000 @@ -1357,7 +1357,8 @@ "Pull rest of line from buffer into search string." (interactive) (isearch-yank-internal - (lambda () (line-end-position (if (eolp) 2 1))))) + (lambda () (let ((inhibit-field-text-motion t)) + (line-end-position (if (eolp) 2 1)))))) (defun isearch-search-and-update () ;; Do the search and update the display.