1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

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

Fixes: debbugs:16109
This commit is contained in:
Juri Linkov 2013-12-13 02:47:18 +02:00
parent bc9222c934
commit 2bc170c3f1
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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)