[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undefine functions from parent major-mode
From: |
Thorsten Jolitz |
Subject: |
Re: Undefine functions from parent major-mode |
Date: |
Fri, 09 Aug 2013 17:40:02 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> > What is the righ/canonical way to do that?
>>
>> Tell your users not to use them in your mode.
>
> Which means: commands/functions are not "assigned" to a mode in any way,
> besides the fact that they are used, or not used, by the code of the
> mode.
>
> Or do you mean key bindings?
I did not really mean keybindings, but I see now that all I have to
worry about are actually the keybindings - its the users responsability
not to use e.g. dired commands in message-mode, and if he does, he will
get errors most likely.
Thanks for the hints.
--
cheers,
Thorsten