(defun run-shell-script-after-export ()
"Run a.sh after exporting an Org document."
(interactive)
(async-shell-command "bash ~/test.sh"))
(add-hook 'org-export-after-todo-export-hook #'run-shell-script-after-export) 不存在
(add-hook 'org-export-after-processing-hook #'run-shell-script-after-export) 不存在
可以用 advice-add 试试