[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 39489f7: Fix infinite recursion in eshell/clear (Bu
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] master 39489f7: Fix infinite recursion in eshell/clear (Bug#31326) |
Date: |
Tue, 10 Jul 2018 21:30:14 -0400 (EDT) |
branch: master
commit 39489f782e436a490d1bec32d7ed9b7bcdacda24
Author: Jonathan Kyle Mitchell <address@hidden>
Commit: Noam Postavsky <address@hidden>
Fix infinite recursion in eshell/clear (Bug#31326)
* lisp/eshell/esh-mode.el (eshell/clear): Bind
eshell-input-filter-functions to nil to prevent entries like
eshell-smart-display-setup from causing infinite recursion.
---
lisp/eshell/esh-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index bbb74c3..9f854c7 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -884,8 +884,7 @@ If SCROLLBACK is non-nil, clear the scrollback contents."
(interactive)
(if scrollback
(eshell/clear-scrollback)
- (let ((eshell-input-filter-functions
- (remq 'eshell-add-to-history eshell-input-filter-functions)))
+ (let ((eshell-input-filter-functions nil))
(insert (make-string (window-size) ?\n))
(eshell-send-input))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 39489f7: Fix infinite recursion in eshell/clear (Bug#31326),
Noam Postavsky <=