[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: longlines-show-hard-newlines sets modified flag
From: |
martin rudalics |
Subject: |
Re: longlines-show-hard-newlines sets modified flag |
Date: |
Tue, 27 Nov 2007 18:30:07 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> 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.
I was talking about the three remaining `set-buffer-modified-p's
in longlines.el. All these may add or remove newlines and thus
change line and/or column numbers. The two you bemoaned
initially will be changed to `restore-buffer-modified-p'.