mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(isearch-yank-line): Let-bind `inhibit-field-text-motion' to t.
This commit is contained in:
parent
5fc5b7e842
commit
933f846719
2 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue