1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
emacs/lisp/eshell
Noam Postavsky 4676542062 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.
2017-02-26 20:39:11 -05:00
..
em-alias.el
em-banner.el
em-basic.el
em-cmpl.el
em-dirs.el
em-glob.el
em-hist.el Don't record eshell/clear "command" in history (Bug#25838) 2017-02-26 20:39:11 -05:00
em-ls.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
em-pred.el
em-prompt.el
em-rebind.el
em-script.el
em-smart.el
em-term.el
em-tramp.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
em-unix.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
em-xtra.el
esh-arg.el
esh-cmd.el
esh-ext.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
esh-io.el
esh-mode.el Don't record eshell/clear "command" in history (Bug#25838) 2017-02-26 20:39:11 -05:00
esh-module.el
esh-opt.el
esh-proc.el Make sure eshell pipelines don't drop data 2017-02-08 23:37:57 -05:00
esh-util.el
esh-var.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
eshell.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00