(auto-mode-alist): Use rst-mode for *.rst and *.rest files.
This commit is contained in:
parent
b47475199b
commit
0667a13268
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
Remove unused var `in-par'. Use `point' rather than `point-marker'.
|
||||
(rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg.
|
||||
(rst-replace-lines): Simplify.
|
||||
(auto-mode-alist): Use rst-mode for *.rst and *.rest files.
|
||||
|
||||
* simple.el (special-mode-map): New var.
|
||||
(special-mode): New major mode.
|
||||
|
|
|
@ -361,7 +361,9 @@ The value of this variable is used when Rst Mode is turned on."
|
|||
:group 'rst
|
||||
:type '(boolean))
|
||||
|
||||
|
||||
;; 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
|
||||
(define-derived-mode rst-mode text-mode "ReST"
|
||||
:abbrev-table rst-mode-abbrev-table
|
||||
|
|
Loading…
Add table
Reference in a new issue