blob: 7263e479118e7dbd2a60155b71f5e49bb9936761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
cat << EOF
>>> To enable by default on all text files in a Pelican site:
>>> (require 'pelican-mode)
>>> (pelican-global-mode)
>>>
>>> Or with use-package and deferred loading:
>>> (use-package pelican-mode
>>> :demand :after (:any org rst markdown-mode adoc-mode)
>>> :config
>>> (pelican-global-mode))
>>>
>>> Or, register pelican-mode or pelican-mode-enable-if-site
>>> as hook functions for more direct control.
EOF
}
post_upgrade() {
post_install
}
|