From: Romain Francoise Date: Sun, 9 Jul 2006 11:04:19 +0000 (+0000) Subject: (isearch-yank-line): Let-bind `inhibit-field-text-motion' to t. X-Git-Tag: emacs-pretest-22.0.90~1594 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=933f846719f290bcfc67b28242ca2ec3964413f4;p=emacs.git (isearch-yank-line): Let-bind `inhibit-field-text-motion' to t. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 08832bd613e..2ef7629a5b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/isearch.el b/lisp/isearch.el index 014c8efe188..4dbb29d99dc 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1357,7 +1357,8 @@ might return the position of the end of the line." "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.