aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Francoise2006-07-09 11:04:19 +0000
committerRomain Francoise2006-07-09 11:04:19 +0000
commit933f846719f290bcfc67b28242ca2ec3964413f4 (patch)
tree7089f39b3517e110b81b5ee82d3a038f29402db5
parent5fc5b7e842f10fca77536a1a7742ef76ec224023 (diff)
downloademacs-933f846719f290bcfc67b28242ca2ec3964413f4.tar.gz
emacs-933f846719f290bcfc67b28242ca2ec3964413f4.zip
(isearch-yank-line): Let-bind `inhibit-field-text-motion' to t.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 08832bd613e..2ef7629a5b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-07-09 Romain Francoise <romain@orebokech.com>
2
3 * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion'
4 to t.
5
12006-07-09 Stefan Monnier <monnier@iro.umontreal.ca> 62006-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * textmodes/fill.el (fill-region-as-paragraph): Refine last change. 8 * 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."
1357 "Pull rest of line from buffer into search string." 1357 "Pull rest of line from buffer into search string."
1358 (interactive) 1358 (interactive)
1359 (isearch-yank-internal 1359 (isearch-yank-internal
1360 (lambda () (line-end-position (if (eolp) 2 1))))) 1360 (lambda () (let ((inhibit-field-text-motion t))
1361 (line-end-position (if (eolp) 2 1))))))
1361 1362
1362(defun isearch-search-and-update () 1363(defun isearch-search-and-update ()
1363 ;; Do the search and update the display. 1364 ;; Do the search and update the display.