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:
parent
5fc5b7e842
commit
933f846719
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user