emacs-devel
[Top][All Lists]
Advanced

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

Re: longlines-show-hard-newlines sets modified flag


From: Stefan Monnier
Subject: Re: longlines-show-hard-newlines sets modified flag
Date: Tue, 27 Nov 2007 10:45:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> I guess so, yes.  It avoids the `force-mode-line-update' that's implict
>> in set-buffer-modified-p.

> Then I'll rather leave them alone.  Better see the new
> line and coulmn numbers immediately ;-)

Indeed, if you do want to update the mode-line, then you might as well
use set-buffer-modified-p, but then please add a short comment about it,
like

  (set-buffer-modified-p mod)   ; and update the mode line.


-- Stefan




reply via email to

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