Fallback to `localmbox' if LOCALMAILBOX is not defined - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 9d4b95cc4fb9a03c82410e05e84e5b144558c7f3
(DIR) parent 1e7aa4db5d81670272f9abf85fd40ce0b1217968
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 26 May 2019 00:32:12
Fallback to `localmbox' if LOCALMAILBOX is not defined
Diffstat:
Mail/replcomps | 2 +-
Mail/replgroupcomps | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff -r 1e7aa4db5d81 -r 9d4b95cc4fb9 Mail/replcomps
--- a/Mail/replcomps Sat May 25 23:58:10 2019 +0200
+++ b/Mail/replcomps Sun May 26 00:32:12 2019 +0200
@@ -2,7 +2,7 @@
%;
%;
%; First, output a "From" header.
-%(void(getenv LOCALMAILBOX))%(void(width))%(putaddr From: )
+%<(getenv LOCALMAILBOX)%|%(void(localmbox))%>%(void(width))%(putaddr From: )
%;
%; These next lines slurp in lots of addresses for To: and cc:.
%; Use with repl -query or else you may get flooded with addresses!
diff -r 1e7aa4db5d81 -r 9d4b95cc4fb9 Mail/replgroupcomps
--- a/Mail/replgroupcomps Sat May 25 23:58:10 2019 +0200
+++ b/Mail/replgroupcomps Sun May 26 00:32:12 2019 +0200
@@ -23,7 +23,7 @@
%; Note that addresses should not have %(decode) run on them in case invalid
%; characters are in the address field.
%;
-%(void(getenv LOCALMAILBOX))%(void(width))%(putaddr From: )
+%<(getenv LOCALMAILBOX)%|%(void(localmbox))%>%(void(width))%(putaddr From: )
%(lit)%(formataddr{mail-followup-to})\
%<(nonnull)%(void(width))%(putaddr To: )\n\
%(putaddr Mail-Followup-To: )\n\