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

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

[nongnu] elpa/rfc-mode 52682e3592 5/9: use rfc-mode for buffers using th


From: ELPA Syncer
Subject: [nongnu] elpa/rfc-mode 52682e3592 5/9: use rfc-mode for buffers using the custom buffer name
Date: Fri, 13 Oct 2023 10:02:13 -0400 (EDT)

branch: elpa/rfc-mode
commit 52682e3592b0e3adc1c9b3ad3a5fc7c36a5c2817
Author: Nicolas Martyanoff <nicolas@n16f.net>
Commit: Nicolas Martyanoff <nicolas@n16f.net>

    use rfc-mode for buffers using the custom buffer name
    
    Without it, restarting Emacs with buffers containing RFC documents (using
    something such as Desktop) leads to these buffers using text-mode instead of
    rfc-mode.
---
 rfc-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rfc-mode.el b/rfc-mode.el
index 245a5475d8..b91efbf97c 100644
--- a/rfc-mode.el
+++ b/rfc-mode.el
@@ -300,6 +300,7 @@ Offer the number at point as default."
 
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("/rfc[0-9]+\\.txt\\'" . rfc-mode))
+(add-to-list 'auto-mode-alist '("\\*rfc[0-9]+\\*\\'" . rfc-mode))
 
 ;;; Syntax utils:
 



reply via email to

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