From 5c9ebced069f88839dfd20f1ac5dbea1484dd535 Mon Sep 17 00:00:00 2001 From: 10sr Date: Wed, 5 Oct 2011 18:02:09 +0900 Subject: [PATCH] .emacs: i want not to exit term-mode when i type C-d --- .emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs b/.emacs index 294c479..dae6c01 100644 --- a/.emacs +++ b/.emacs @@ -651,6 +651,7 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB." (define-key term-raw-map "\C-c" 'term-send-raw) (define-key term-raw-map "\C-x" (lookup-key (current-global-map) "\C-x")) (define-key term-raw-map "\C-z" (lookup-key (current-global-map) "\C-z"))) + ;; (define-key term-raw-map "\C-d" 'delete-char) (set (make-variable-buffer-local 'scroll-margin) 0))) ;; (add-hook 'term-exec-hook 'forward-char)