瀏覽代碼

C-x C-c should not shut down the emacs process.

Wei Hu 15 年之前
父節點
當前提交
1ef5afa2ad
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      edit-server.el

+ 1 - 0
edit-server.el

@@ -106,6 +106,7 @@ unmodified text is sent back instead.
 (define-key edit-server-text-mode-map (kbd "C-x #") 'edit-server-done)
 (define-key edit-server-text-mode-map (kbd "C-x C-s") 'edit-server-done)
 (define-key edit-server-text-mode-map (kbd "C-c C-c") 'edit-server-done)
+(define-key edit-server-text-mode-map (kbd "C-x C-c") 'edit-server-abort)
 
 
 ;; Edit Server socket code