1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(isearch-yank-line): Let-bind `inhibit-field-text-motion' to t.

This commit is contained in:
Romain Francoise 2006-07-09 11:04:19 +00:00
parent 5fc5b7e842
commit 933f846719
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-09 Romain Francoise <romain@orebokech.com>
* isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion'
to t.
2006-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/fill.el (fill-region-as-paragraph): Refine last change.

View File

@ -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.