projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c249e17
)
Fix infinite recursion in eshell/clear (Bug#31326)
author
Jonathan Kyle Mitchell
<kyle@jonathanmitchell.org>
Thu, 3 May 2018 04:09:55 +0000
(23:09 -0500)
committer
Noam Postavsky
<npostavs@gmail.com>
Wed, 11 Jul 2018 01:22:52 +0000
(21:22 -0400)
* 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
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-mode.el
b/lisp/eshell/esh-mode.el
index bbb74c3d86f96e1ede3597f486cc914a9c8d663c..9f854c7d907e09207e1ed2af1e720fedfee1cd44 100644
(file)
--- 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))))