diff options
| author | Noam Postavsky | 2017-02-22 21:48:29 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2017-02-26 20:39:11 -0500 |
| commit | 46765420620509f17dbd6a90f6829e6e2b26b0c6 (patch) | |
| tree | 93aa67234a37e854ca51ff1ecda3cecb8eb15e62 /src/bytecode.c | |
| parent | d83c75ec19b549a1700622157d0ee292ca59785e (diff) | |
| download | emacs-46765420620509f17dbd6a90f6829e6e2b26b0c6.tar.gz emacs-46765420620509f17dbd6a90f6829e6e2b26b0c6.zip | |
Don't record eshell/clear "command" in history (Bug#25838)
`eshell/clear' is implemented by sending a series of blank lines,
which is not a useful thing to have in the history.
* lisp/eshell/em-hist.el (eshell-input-filter-default): Use
`string-blank-p' which does check for newlines (even though newlines
have comment-end syntax, not whitespace syntax class).
* lisp/eshell/esh-mode.el (eshell/clear): Remove
`eshell-add-to-history' from `eshell-input-filter-functions' while
sending the blank lines. This change is needed to solve the bug if
the user customizes `eshell-input-filter' to something that doesn't
filter newlines.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions