X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=vm;h=318213b6e4d30ac5cd582c61801818472c84decb;hb=16f950b489d03a23e80080626bcadfafe24b3f98;hp=5d7739ece36ee7a68985f0214cd807185ab941b7;hpb=0d3d27fdd2ebfd6b9edcce28ef57503d7beb3083;p=elisp.git diff --git a/vm b/vm index 5d7739e..318213b 100644 --- a/vm +++ b/vm @@ -412,7 +412,7 @@ attachement from mail." (interactive "FFind file: \np") - (if (string-match "^\\(mail\\|sent-mail\\)-[^/]+$" + (if (string-match "^\\(mail\\|sent\\)-[^/]+$" (file-name-nondirectory filename)) (if (find-buffer-visiting filename)