mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user