]> granicus.if.org Git - neomutt/commitdiff
Permit !! for the last folder. Elm compatibility.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 23 Nov 1999 16:56:14 +0000 (16:56 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 23 Nov 1999 16:56:14 +0000 (16:56 +0000)
muttlib.c

index ee388af246ef899ab68d12a66dede836f9b74850..d6f581fbe5088417a6f86c63695e867f581c9ade 100644 (file)
--- 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;