Path: utzoo!telly!philmtl!uunet!samsung!brutus.cs.uiuc.edu!psuvax1!rutgers!aramis.rutgers.edu!topaz.rutgers.edu!outlaws.rutgers.edu!gaynor From: gaynor@outlaws.rutgers.edu (Silver) Newsgroups: gnu.emacs Subject: Re: Binding directly to functions. Message-ID: Date: 5 Dec 89 16:11:57 GMT References: <10224@blia.BLI.COM> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 10 peterw@blia.BLI.COM writes: > [What's wrong with this picture?] > (define-key nroff-mode-map "\C-cb" '(lambda () (quote-sexp "\fB" "\fI"))) Try something like this: (define-key nroff-mode-map "\C-cb" '(lambda () (interactive) (quote-sexp "\fB" "\fI"))) Regards, [Ag] gaynor@topaz.rutgers.edu