.emacs-my
changeset 1437 22f5b3cdf40f
parent 1436 bbc10fe15aa5
child 1438 57d7478f265d
equal deleted inserted replaced
1436:bbc10fe15aa5 1437:22f5b3cdf40f
  1414 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1414 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1415 (message "rst, reStructuredText")
  1415 (message "rst, reStructuredText")
  1416 
  1416 
  1417 ;; Maintaining the table of contents up-to-date.
  1417 ;; Maintaining the table of contents up-to-date.
  1418 (add-hook 'rst-adjust-hook 'rst-toc-update)
  1418 (add-hook 'rst-adjust-hook 'rst-toc-update)
       
  1419 
       
  1420 (modify-coding-system-alist 'file "\\.rst\\'" 'prefer-utf-8-unix)
  1419 
  1421 
  1420 (unless window-system
  1422 (unless window-system
  1421   (my--eval-after-load rst
  1423   (my--eval-after-load rst
  1422     (custom-set-faces
  1424     (custom-set-faces
  1423      '(rst-level-1-face ((t (:background "yellow"))) t)
  1425      '(rst-level-1-face ((t (:background "yellow"))) t)