]> git.eshelyaron.com Git - emacs.git/commit
Improve goto-line in regard to narrowed buffers (bug#44294)
authorJuri Linkov <juri@linkov.net>
Sat, 31 Oct 2020 19:38:26 +0000 (21:38 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 31 Oct 2020 19:39:28 +0000 (21:39 +0200)
commit80a87af1357492b16a057c1f31d0e9a8b501d7d0
tree14e29a5f872e0edbb1e731482f50100bce2421bc
parent71795c6c4a61817f60e001702ed01785d2da3faf
Improve goto-line in regard to narrowed buffers (bug#44294)

* lisp/simple.el (goto-line): Rewrite to first find the position
of the line where to go, then later don't widen the buffer
when the found position is still inside narrowed part of buffer.

* lisp/isearch.el (isearch-message-prefix): Warn about narrowed buffer
in case of no more matches found.
lisp/isearch.el
lisp/simple.el