[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m tab line constantly consumes CPU
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 22 Oct 2013 10:47:40 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12206
- References: <87k3haj8zk.fsf@xxxxxx> <b4m1u3f8ji4.fsf@xxxxxxx> <87sivv45m2.fsf@xxxxxx> <b4m8uxn6wdq.fsf@xxxxxxx> <87mwm3nmfu.fsf@xxxxxx> <b4mob6j58n4.fsf@xxxxxxx>
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")
Done.
Note: this change might cause old Emacsen not to update the tab
line appearance smoothly.