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.
: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