My .rst files in UTF-8.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 06 Oct 2016 18:58:23 +0300
changeset 1437 22f5b3cdf40f
parent 1436 bbc10fe15aa5
child 1438 57d7478f265d
My .rst files in UTF-8.
.emacs-my
--- a/.emacs-my	Mon Sep 26 00:29:33 2016 +0300
+++ b/.emacs-my	Thu Oct 06 18:58:23 2016 +0300
@@ -1417,6 +1417,8 @@
 ;; Maintaining the table of contents up-to-date.
 (add-hook 'rst-adjust-hook 'rst-toc-update)
 
+(modify-coding-system-alist 'file "\\.rst\\'" 'prefer-utf-8-unix)
+
 (unless window-system
   (my--eval-after-load rst
     (custom-set-faces