emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eww-update-header-line: Possible breakage after d39ae6f5860ecf6ebbee


From: Lars Ingebrigtsen
Subject: Re: eww-update-header-line: Possible breakage after d39ae6f5860ecf6ebbeedc08bf3aafa5befaf510
Date: Sun, 13 Sep 2020 17:08:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"T.V Raman" <raman@google.com> writes:

> I'm setting eww-data correctly, and plist-get shows that :title is set
> correctly in eww-data when I go to the buffer where the ebook is
> rendered. However eww-update-header-line throws an error on this line:
>
> +          (let ((title (propertize (plist-get eww-data :title)
>
>   appears that  plist-get in the above call returns nil within
>        eww-update-header-line --not sure why 

If that bugs out, then :title in eww-data can't be a string, I think?

But I see that the old code supported a nil value for title, so I've now
tweaked the code a bit to avoid bugging out in this case.  Pushed to the
trunk now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]