# HG changeset patch # User Oleksandr Gavenko # Date 1475769503 -10800 # Node ID 22f5b3cdf40fbd40446484690c9409e00bdfacbd # Parent bbc10fe15aa5f56a15b95587847a7f0128d30f19 My .rst files in UTF-8. diff -r bbc10fe15aa5 -r 22f5b3cdf40f .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