[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Q on shell-mode-map
From: |
Johan Bockgård |
Subject: |
Re: Q on shell-mode-map |
Date: |
Sun, 23 Jul 2006 01:15:48 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> Well, I see now that the nconc should make it so that shell-mode-map
> shares a tail with comint-mode-map
Drew is referring to this line in shell.el:
(setq shell-mode-map (nconc (make-sparse-keymap) comint-mode-map))
The manual says
The proper way to construct a keymap with a parent is to use
`set-keymap-parent'; if you have code that directly constructs a
keymap with a parent, please convert the program to use
`set-keymap-parent' instead.
so maybe that should be cleaned up.
--
Johan Bockgård