Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法编写要从 eshell 缓冲区使用的 .sh 脚本?使用 eshell(elisp) 特定命令?
我想ediff $1 $2从我compare.sh的 eshell 缓冲区中执行。
ediff $1 $2
compare.sh
如果您emacsserver正在跑步,请尝试:
emacsserver
emacsclient --eval '(ediff-merge-files "FILE1" "FILE2" nil "NEWFILE")'