emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] scratch/rfc-mode 0f95e3f79b 21/52: fix mode detection regexp


From: Stefan Monnier
Subject: [nongnu] scratch/rfc-mode 0f95e3f79b 21/52: fix mode detection regexp
Date: Wed, 12 Oct 2022 16:29:19 -0400 (EDT)

branch: scratch/rfc-mode
commit 0f95e3f79be7453dc6a25f45358fc63cd9db40fe
Author: Nicolas Martyanoff <khaelin@gmail.com>
Commit: Nicolas Martyanoff <khaelin@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

[Prev in Thread] Current Thread [Next in Thread]