在Emacs失去响应的时候优雅地退出循环

(signal-process (emacs-pid) 'sigusr2)

;; 相当于 pkill -SIGUSR2 -i emacs
1 个赞