[Top][All Lists]

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

Re: Fill column indicator functionality

From: Eli Zaretskii
Subject: Re: Fill column indicator functionality
Date: Mon, 18 Mar 2019 05:35:43 +0200

> Date: Mon, 18 Mar 2019 02:03:13 +0100
> From: Ergus <address@hidden>
> Cc: address@hidden
> The variable fill-column is defined in the buffer.c file. I should
> access it in every display_line when display-fill-column is enabled if I
> want to keep the difference between display-fill-column-indicator-column
> and fill-column. (when display-fill-column-indicator is t).
> Whats the better method to do that?

Are you worried about performance?  If so, then don't: accessing a
single variable is not something that would slow down redisplay in any
tangible way.  So I don't recommend any more complex solution that
somehow caches the fill-column value, it isn't justified in this case.

reply via email to

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