[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pc-selection-mode in shell buffer
From: |
Kai Großjohann |
Subject: |
Re: pc-selection-mode in shell buffer |
Date: |
Tue, 12 Nov 2002 19:12:23 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
"Felix E. Klee" <felix.klee@inka.de> writes:
> It all works fine except in the shell mode. Usually when I select some text
> and hit the delete key all the selected text is removed. This is, however,
> not the case in shell mode (M-x shell). Here when I select text and hit the
> delete key only the character at the mark is deleted. This inconsitent
> behavior is very annoying. How do I change it?
(require 'shell)
(define-key shell-mode-map (kbd "<delete>") 'delete-char)
Does this do the trick?
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)