]> git.eshelyaron.com Git - emacs.git/commit
Fix infloop in 'shell-resync-dirs'
authorEli Zaretskii <eliz@gnu.org>
Fri, 12 Jul 2024 06:58:53 +0000 (09:58 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jul 2024 20:07:04 +0000 (22:07 +0200)
commitab66afd6f5e857e41cefe8e2a24e586d64b39ea3
tree2cc72f23228d1832514dffb7aeb0a10a364d9c48
parent59003c77c07c08a165c7a1b9ff1ebe3ce246799d
Fix infloop in 'shell-resync-dirs'

* lisp/shell.el (shell-eval-command): Fix detection of newline
after last output line.  (Bug#71896)
(shell-resync-dirs): Make sure the inner loop never infloops.
Suggested by Troy Hinckley <troyhinckley@dabrev.com>.

(cherry picked from commit 8b1a0f8695a43e74daa5275559267e96c14aba03)
lisp/shell.el