Commit 2bc170c3 authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/comint.el (comint-mode-map): Replace `delete-char' with `delete-forward-char'.

Fixes: debbugs:16109
parent bc9222c9
2013-12-13 Juri Linkov <juri@jurta.org>
* comint.el (comint-mode-map): Replace `delete-char' with
`delete-forward-char'. (Bug#16109)
2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-indent-calculate-indentation): Fix
......
......@@ -460,10 +460,10 @@ executed once when the buffer is created."
(define-key map "\e\C-l" 'comint-show-output)
(define-key map "\C-m" 'comint-send-input)
(define-key map "\C-d" 'comint-delchar-or-maybe-eof)
;; The following two are standardly aliased to C-d,
;; The following two are standardly bound to delete-forward-char,
;; but they should never do EOF, just delete.
(define-key map [delete] 'delete-char)
(define-key map [kp-delete] 'delete-char)
(define-key map [delete] 'delete-forward-char)
(define-key map [kp-delete] 'delete-forward-char)
(define-key map "\C-c " 'comint-accumulate)
(define-key map "\C-c\C-x" 'comint-get-next-from-history)
(define-key map "\C-c\C-a" 'comint-bol-or-process-mark)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment