summaryrefslogtreecommitdiffstats
path: root/roles/wiki-publish/templates/emacsconf-config.el
blob: cfb554e0d8d33ebb9b1407c05a323edde6629c96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; {{ ansible_managed }}

(add-to-list 'load-path "{{ emacsconf_el_dir }}")
(require 'emacsconf)
(require 'emacsconf-publish)
(require 'emacsconf-schedule)
(org-babel-do-load-languages  'org-babel-load-languages '((emacs-lisp . t) (shell . t)))
(setq emacsconf-year "{{ emacsconf_year }}")
(setq emacsconf-org-file "{{ emacsconf_org_file }}")
(setq emacsconf-directory "{{ emacsconf_edit_wiki_dir }}")
{% if emacsconf_streaming_nick is defined %}
(setq emacsconf-streaming-nick "{{ emacsconf_streaming_nick }}")
{% endif %}
{% if emacsconf_org_tag is defined %}
(setq emacsconf-org-tag "{{ emacsconf_org_tag }}")
{% endif %}
{% if emacsconf_ansible_directory is defined %}
(setq emacsconf-ansible-directory "{{ emacsconf_ansible_directory }}")
{% endif %}
(setq emacsconf-pad-api-key "{{ etherpad_api_key }}")
(setq emacsconf-publishing-phase '{{ emacsconf_publishing_phase }})