diff options
Diffstat (limited to 'lisp/textmodes/rst.el')
-rw-r--r-- | lisp/textmodes/rst.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index d24bcf7e2b..f94ba6949b 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -363,7 +363,7 @@ The value of this variable is used when Rst mode is turned on." ;; Use rst-mode for *.rst and *.rest files. Many ReStructured-Text files ;; use *.txt, but this is too generic to be set as a default. -;;;###autoload (add-to-list 'auto-mode-alist '("\\.re?st\\'" . rst-mode)) +;;;###autoload (add-to-list 'auto-mode-alist (purecopy '("\\.re?st\\'" . rst-mode))) ;;;###autoload (define-derived-mode rst-mode text-mode "ReST" "Major mode for editing reStructuredText documents. |