[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: move write-contents-functions higher up in basic-save-buff
From: |
Eli Zaretskii |
Subject: |
Re: Proposal: move write-contents-functions higher up in basic-save-buffer |
Date: |
Wed, 24 May 2017 20:46:44 +0300 |
> From: Eric Abrahamsen <address@hidden>
> Date: Wed, 24 May 2017 12:55:53 +0800
>
> > My thinking was that by somehow overcoming this obstacle, you can
> > allow users to easily use write-contents-functions as they need.
> >
> > Does this make sense? If not, can you tell what is the difficulty in
> > this regard?
>
> I probably just did a poor job writing the initial message. That's what
> I was proposing to begin with: to jiggle `basic-save-buffer' (and I
> think also `save-some-buffers') so that the running of
> `write-contents-functions' comes earlier in the function, or is
> otherwise in its own branch that doesn't require a `buffer-file-name'.
Then I guess we are in violent agreement.
> I can try to produce a patch, if this is acceptable in principle.
Yes, please.
Thanks.