]> granicus.if.org Git - neomutt/commit
Chain %d->%F->%f in the attachment menu.
authorKevin McCarthy <kevin@8t8.us>
Tue, 8 Nov 2016 02:10:27 +0000 (18:10 -0800)
committerKevin McCarthy <kevin@8t8.us>
Tue, 8 Nov 2016 02:10:27 +0000 (18:10 -0800)
commit146d4a145b2aa3a2c39e1851e184dbea27aa6f96
treee46b3972b37ab25be3306cd51c097ed80c9008ac
parent452dab3d9683f49870736deb0bce15442411a153
Chain %d->%F->%f in the attachment menu.

Previously, %d would use %f if there was no description set.

Place the new %F option in between %d and %f.  This way, %d will fall
back on %F, which will fall back on %f.  This allows the standard
attachment menu to show d_filename.

This is useful for forwarding attachments or editing draft files with
attachments.  In these cases the actual filename is sanitized but the
attachment name is preserved in d_filename.
recvattach.c