equal
deleted
inserted
replaced
825 ;; ---------------------------------------------------------------- |
825 ;; ---------------------------------------------------------------- |
826 (message "rst, reStructuredText") |
826 (message "rst, reStructuredText") |
827 |
827 |
828 ;; Maintaining the table of contents up-to-date. |
828 ;; Maintaining the table of contents up-to-date. |
829 (add-hook 'rst-adjust-hook 'rst-toc-update) |
829 (add-hook 'rst-adjust-hook 'rst-toc-update) |
|
830 |
|
831 (unless window-system |
|
832 (eval-after-load 'rst |
|
833 '(progn |
|
834 (custom-set-faces |
|
835 '(rst-level-1-face ((t (:background "yellow"))) t) |
|
836 '(rst-level-2-face ((t (:background "yellow"))) t) |
|
837 '(rst-level-3-face ((t (:background "yellow"))) t) |
|
838 '(rst-level-4-face ((t (:background "yellow"))) t) |
|
839 '(rst-level-5-face ((t (:background "yellow"))) t) |
|
840 '(rst-level-6face ((t (:background "yellow"))) t) |
|
841 ) ) ) ) |
830 |
842 |
831 ;;; ---------------------------------------------------------------- |
843 ;;; ---------------------------------------------------------------- |
832 (message "TeX, LaTeX") |
844 (message "TeX, LaTeX") |
833 |
845 |
834 (setq tex-run-command "initex") |
846 (setq tex-run-command "initex") |