summaryrefslogtreecommitdiffstats
path: root/muttlib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-11-23 16:56:14 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-11-23 16:56:14 +0000
commiteaa53ada70f724a8b3f6a9ce498a61fab80b46db (patch)
tree8f322691562edb97013b7d9c30b647cc0c1a0b9b /muttlib.c
parent46c769b106efae2932757480f34836207b53f41b (diff)
Permit !! for the last folder. Elm compatibility.
Diffstat (limited to 'muttlib.c')
-rw-r--r--muttlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/muttlib.c b/muttlib.c
index ee388af2..d6f581fb 100644
--- a/muttlib.c
+++ b/muttlib.c
@@ -372,6 +372,8 @@ char *mutt_expand_path (char *s, size_t slen)
q = Spoolfile;
else if (*s == '-')
q = LastFolder;
+ else if (!mutt_strcmp (s, "!!")) /* elm compatibility */
+ q = LastFolder;
else
return s;