org: improve Python formating

* doc/org/spot.css: Use bold for "def", "from", "import".
* doc/org/init.el.in: Prevent tabs from being inserted when the code
is indented before export.
This commit is contained in:
Alexandre Duret-Lutz 2019-02-25 16:17:29 +01:00
parent c4f6722b53
commit b5248f72ca
2 changed files with 5 additions and 6 deletions

View file

@ -54,6 +54,9 @@
;; conditions when doing concurrent builds.
(setq org-publish-timestamp-directory "@abs_top_builddir@/.org-timestamps/")
;; Prevent tabs from being inserted when org-mode reindent some code.
(setq-default indent-tabs-mode nil)
(org-babel-do-load-languages
'org-babel-load-languages
`((,(if (version< org-version "8.3") 'sh 'shell) . t)