help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs init and mode-maps


From: Kevin Rodgers
Subject: Re: emacs init and mode-maps
Date: Fri, 23 Jun 2006 14:51:04 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

David Kastrup wrote:
Andreas Roehler <andreas.roehler@online.de> writes:
An assignment as
(define-key sh-mode-map "\M-#" 'do-something)

should work - i.e. at least be recorded for further use
-

also, if sh-mode isn't activated yet.

That would requires sh-mode-map to be defined before loading, or
define-key to work on undefined variables, and it would most certainly
cause any define-key in sh-mode.el to override the settings in .emacs.

All of this is not desirable.  I recommend you read up a bit more
about Elisp before making proposals.

Why would it be undesirable to have sh-mode-map (and other keymaps)
already defined (by dumping it into emacs via an autoload cookie)?

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]