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

Re: w3m tab line constantly consumes CPU

In [emacs-w3m : No.12205] Katsumi Yamaoka wrote:
> I realized the :eval form of `header-line-format' runs not so
> frequently.  So, I think `w3m-tab-line-format' and caching the
> value in it is needless.  I.e.:

> (defun w3m-tab-line ()
>   [calculate the "VALUE" of header-line-format]
>   "VALUE")

Note: this change might cause old Emacsen not to update the tab
line appearance smoothly.