[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget'
From: |
Eli Zaretskii |
Subject: |
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly) |
Date: |
Thu, 11 Nov 2021 09:59:15 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 11 Nov 2021 14:37:49 +0800
>
> +DEFUN ("xwidget-live-p", Fxwidget_live_p, Sxwidget_live_p,
> + 1, 1, 0, doc: /* Return t if OBJECT is an xwidget that has not been
> killed.
> +Value is nil if OBJECT is not an xwidget or if it has been killed. */)
> + (Lisp_Object object)
> +{
> + return ((XWIDGETP (object)
> + && !NILP (XXWIDGET (object)->buffer))
> + ? Qt : Qnil);
> +}
What if the xwidget's buffer was itself killed? should this also test
that situation?
- Re: shr using `make-xwidget' incorrectly, (continued)
- Re: shr using `make-xwidget' incorrectly, Lars Ingebrigtsen, 2021/11/10
- Re: shr using `make-xwidget' incorrectly, Lars Ingebrigtsen, 2021/11/10
- Re: shr using `make-xwidget' incorrectly, Po Lu, 2021/11/10
- Re: shr using `make-xwidget' incorrectly, Lars Ingebrigtsen, 2021/11/10
- Re: shr using `make-xwidget' incorrectly, Po Lu, 2021/11/11
- Re: shr using `make-xwidget' incorrectly, Lars Ingebrigtsen, 2021/11/11
- Re: shr using `make-xwidget' incorrectly, Po Lu, 2021/11/11
- Re: shr using `make-xwidget' incorrectly, Lars Ingebrigtsen, 2021/11/11
- Re: shr using `make-xwidget' incorrectly, Po Lu, 2021/11/11
Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly), Po Lu, 2021/11/11
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly), Lars Ingebrigtsen, 2021/11/11
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly), Po Lu, 2021/11/11
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly), Eli Zaretskii, 2021/11/11
Re: Introduce "killed" state for xwidgets (Re: shr using `make-xwidget' incorrectly), Po Lu, 2021/11/11
Re: shr using `make-xwidget' incorrectly, Eli Zaretskii, 2021/11/11