使用配置: https://gitee.com/emacsd/emacs.d.git
使用方式: mv ~/.emacs.d; git clone https://gitee.com/emacsd/emacs.d.git ~/.emacs.d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| # 创建一个org文件
echo "1" > test.org
# 加载early-init.el、init.el,根据自己的配置文件进行指定
emacs --batch \
--load ~/.emacs.d/early-init.el \
--load ~/.emacs.d/init.el \
--visit test.org \
--eval "(progn
(require 'ox-latex)
(org-latex-export-to-pdf))"
# 打印内容
<<'CONTENT'
Loading /data/data/com.termux/files/home/.emacs.d/chemacs2/init.el (source)...
Emacs version: 30.2, using https protocol for package archives
Running in terminal mode
[yas] Prepared just-in-time loading of snippets (but no snippets found).
Processing LaTeX file test.tex...
PDF file produced.
Warning (amx): Not saving amx state from "emacs -Q".
CONTENT
|