Fix #1442: void-function eshell-input-filter-initial-space
eshell-input-filter-initial-space was introduced in Emacs 26. I've inlined its definition, at least until we drop 25.x support.
This commit is contained in:
parent
c9493038a0
commit
a583d69ae1
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ You should use `det-eshell-alias!' to change this.")
|
|||
eshell-kill-processes-on-exit t
|
||||
eshell-hist-ignoredups t
|
||||
;; don't record command in history if prefixed with whitespace
|
||||
eshell-input-filter #'eshell-input-filter-initial-space
|
||||
;; TODO Use `eshell-input-filter-initial-space' when Emacs 25 support is dropped
|
||||
eshell-input-filter (lambda (input) (not (string-match-p "\\`\\s-+" input)))
|
||||
;; em-prompt
|
||||
eshell-prompt-regexp "^.* λ "
|
||||
eshell-prompt-function #'+eshell-default-prompt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue