unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: emacs-28 64ea1a1: Fix eshell for systems that do not have subprocesses
       [not found] ` <20211212075136.10D6020A0A@vcs0.savannah.gnu.org>
@ 2021-12-12  8:17   ` Stefan Kangas
  2021-12-12  9:33     ` Po Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2021-12-12  8:17 UTC (permalink / raw)
  To: Po Lu, emacs-devel

luangruo--- via Mailing list for Emacs changes <emacs-diffs@gnu.org>
writes:

> branch: emacs-28
> commit 64ea1a178c6cb3a436eeb6783237bd603be4f5e4
> Author: Po Lu <luangruo@yahoo.com>
> Commit: Po Lu <luangruo@yahoo.com>
>
>     Fix eshell for systems that do not have subprocesses
>
>     * lisp/eshell/esh-cmd.el (eshell-eval-command): Use
>     `eshell-processp' instead of `processp'.
> ---
>  lisp/eshell/esh-cmd.el | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
> index a2464ad..213b7ab 100644
> --- a/lisp/eshell/esh-cmd.el
> +++ b/lisp/eshell/esh-cmd.el
> @@ -945,12 +945,12 @@ at the moment are:
>        ;; In that case, unwrap the value before checking the delimiter
>        ;; value.
>        (if (and val
> -               (not (processp val))
> +               (not (eshell-processp val))
>                 (not (eq val t)))
>            (error "Unmatched delimiter: %S" val)
>          ;; Eshell-command expect a list like (<process>) to know if the
>          ;; command should be async or not.
> -        (or (and (processp val) delim) val)))))
> +        (or (and (eshell-processp val) delim) val)))))
>
>  (defun eshell-resume-command (proc status)
>    "Resume the current command when a process ends."

Is this relevant only to MS-DOS?  If yes, should we add a comment to
that effect to `eshell-processp'?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-28 64ea1a1: Fix eshell for systems that do not have subprocesses
  2021-12-12  8:17   ` emacs-28 64ea1a1: Fix eshell for systems that do not have subprocesses Stefan Kangas
@ 2021-12-12  9:33     ` Po Lu
  2021-12-12 10:07       ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Po Lu @ 2021-12-12  9:33 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

Stefan Kangas <stefankangas@gmail.com> writes:

> Is this relevant only to MS-DOS?  If yes, should we add a comment to
> that effect to `eshell-processp'?

If MS-DOS is the only system that doesn't have `processp', then yes.
I'm not sure about that though.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-28 64ea1a1: Fix eshell for systems that do not have subprocesses
  2021-12-12  9:33     ` Po Lu
@ 2021-12-12 10:07       ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2021-12-12 10:07 UTC (permalink / raw)
  To: Po Lu; +Cc: stefankangas, emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sun, 12 Dec 2021 17:33:38 +0800
> 
> Stefan Kangas <stefankangas@gmail.com> writes:
> 
> > Is this relevant only to MS-DOS?  If yes, should we add a comment to
> > that effect to `eshell-processp'?
> 
> If MS-DOS is the only system that doesn't have `processp', then yes.

Yes, that's true nowadays.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-12 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211212075134.13255.37107@vcs0.savannah.gnu.org>
     [not found] ` <20211212075136.10D6020A0A@vcs0.savannah.gnu.org>
2021-12-12  8:17   ` emacs-28 64ea1a1: Fix eshell for systems that do not have subprocesses Stefan Kangas
2021-12-12  9:33     ` Po Lu
2021-12-12 10:07       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).