In article , "Stefan Thomas" wrote: > Dear Peter, > thanks for Your fast answer. > But how can I customize shell-mode-hook? > > 2008/10/3 Peter Dyballa > > > > > Am 03.10.2008 um 15:04 schrieb Stefan Thomas: > > > > I have (succesfully!!) defined some macros. > >> But I want them to use only in shell-mode. > >> > > > > > > You can customise shell-mode-hook. > > > > -- > > Mit friedvollen Grüßen > > > > Pete > > > > Der Unterschied zwischen Theorie und Praxis ist in der Praxis meist größer > > als in der Theorie > > > > > > (defun my-shell-mode-hook () (local-set-key ...) (local-set-key ...)) (add-to-list 'shell-mode-hook 'my-shell-mode-hook) -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***