From 5e5e29f684479e569664f0dd2c1eac95fd2007a2 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 20 Sep 1999 07:08:35 +0000 Subject: [PATCH] (mailcap-look-at-schar): Protect against unexpected eof. [cf. ] --- mailcap.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailcap.el b/mailcap.el index eb1c093..25595f0 100644 --- a/mailcap.el +++ b/mailcap.el @@ -86,7 +86,8 @@ (defsubst mailcap-look-at-schar () (let ((chr (char-after (point)))) - (if (and (>= chr ? ) + (if (and chr + (>= chr ? ) (/= chr ?\;) (/= chr ?\\) ) -- 1.7.10.4