Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!bbn!gateway!crdgw1.UUCP!montnaro From: montnaro@crdgw1.UUCP (Skip Montanaro) Newsgroups: comp.emacs Subject: Re: More than one function ? Message-ID: <48407@bbn.COM> Date: 17 Nov 89 20:05:16 GMT Article-I.D.: bbn.48407 Sender: news@bbn.COM Reply-To: montanaro%crdgw1.ge.com@VM.TCS.Tulane.EDU Organization: BBN news/mail gateway Lines: 19 In article <86@nixbln.UUCP> lutz@nsebln.UUCP (Lutz Hilken) writes: Is there a proper way to bind two functions to one key? Ok, I can write a new function wich calls that one I like to execute, but... I would like something like (define-key CSI-map "" 'funtion 1 'function 2). How would you know which got executed? If you'd execute both, how would they decide how to split up any arguments? Why not just (defun function-wrapper () (interactive ...) (function1 ...) (function2 ...)) (define-key CSI-map "" 'function-wrapper) -- Skip Montanaro (montanaro@crdgw1.ge.com)