branch: scratch/rfc-mode
commit 0f95e3f79be7453dc6a25f45358fc63cd9db40fe
Author: Nicolas Martyanoff <khae...@gmail.com>
Commit: Nicolas Martyanoff <khae...@gmail.com>

    fix mode detection regexp
    
    Thanks to Stefan Monnier.
---
 rfc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rfc-mode.el b/rfc-mode.el
index dde636e31e..37e00c2166 100644
--- a/rfc-mode.el
+++ b/rfc-mode.el
@@ -150,7 +150,7 @@ Assume RFC documents are named as e.g. rfc21.txt, 
rfc-index.txt."
   (rfc-mode-init))
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("rfc[0-9]+\\.txt\\'" . rfc-mode))
+(add-to-list 'auto-mode-alist '("/rfc[0-9]+\\.txt\\'" . rfc-mode))
 
 ;;; Syntax utils:
 

Reply via email to