[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undefine functions from parent major-mode
From: |
Thorsten Jolitz |
Subject: |
Undefine functions from parent major-mode |
Date: |
Fri, 09 Aug 2013 14:13:05 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Hi List,
assume there is a major-mode that would serve nicely as a parent-mode
for a new major-mode I want to write, but this parent-mode has lots of
functions/commands, and I would need only a few of them - and must
deactivate the others in the derived mode, because they won't work.
I don't talk about just undefining the keybindings for parent-mode
commands, the redundant functions/commands should simply not be
available anymore in the derived mode, not via 'M-x' and not via 'M-:'.
What is the righ/canonical way to do that?
--
cheers,
Thorsten
- Undefine functions from parent major-mode,
Thorsten Jolitz <=