all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.