unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Undefine functions from parent major-mode
@ 2013-08-09 12:13 Thorsten Jolitz
  2013-08-09 13:16 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2013-08-09 12:13 UTC (permalink / raw)
  To: help-gnu-emacs


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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-09 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-09 12:13 Undefine functions from parent major-mode Thorsten Jolitz
2013-08-09 13:16 ` Stefan Monnier
2013-08-09 15:04   ` Michael Heerdegen
2013-08-09 15:40     ` Thorsten Jolitz
     [not found]   ` <mailman.2881.1376061319.12400.help-gnu-emacs@gnu.org>
2013-08-09 18:28     ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).