projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991600a
)
Check for a real process when trying to find password prompts in Eshell
author
Jim Porter
<jporterbugs@gmail.com>
Sun, 2 Jun 2024 20:07:10 +0000
(13:07 -0700)
committer
Jim Porter
<jporterbugs@gmail.com>
Tue, 4 Jun 2024 03:23:35 +0000
(20:23 -0700)
* lisp/eshell/esh-mode.el (eshell-watch-for-password-prompt): Use
'eshell-head-process'.
lisp/eshell/esh-mode.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-mode.el
b/lisp/eshell/esh-mode.el
index ea2ccb08be1c5f58537c0afc012bb333a86fb320..e6f3cb5f6ad01b3263083c9c1b6e069c2185ece2 100644
(file)
--- a/
lisp/eshell/esh-mode.el
+++ b/
lisp/eshell/esh-mode.el
@@
-952,7
+952,7
@@
buffer's process if STRING contains a password prompt defined by
`eshell-password-prompt-regexp'.
This function could be in the list `eshell-output-filter-functions'."
- (when
eshell-foreground-command
+ (when
(eshell-head-process)
(save-excursion
(let ((case-fold-search t))
(goto-char eshell-last-output-block-begin)