The first two commits do some cleanup.  I was almost going to commit
them before sending this, so as to keep the patchset as simple as
possible.  You can safely skip them if you want.

The third commit creates the config variable and #define functions
calling the temp file name generation with $tmpdir and $tmpdraftdir.

The fourth commit swaps over the callers mentioned in its commit
message.

Kevin J. McCarthy (4):
  Remove unused non-buffer tempdir functions.
  Clean up tempdir definitions and file locations.
  Add $tmpdraftdir for composing messages.
  Modify compose temp files to use $tmpdraftdir functions.

 globals.h  |  1 +
 headers.c  |  2 +-
 init.h     | 10 +++++++++-
 main.c     |  2 +-
 muttlib.c  | 58 +++++++++++++++++++-----------------------------------
 postpone.c |  2 +-
 protos.h   | 17 +++++++++-------
 send.c     |  2 +-
 8 files changed, 44 insertions(+), 50 deletions(-)

-- 
2.53.0

Reply via email to