[gnu.emacs] buffer local functions - is it possible

jv@mhres.mh.nl (Johan Vromans) (05/24/89)

In a specific buffer, I want to re-define the semantics of certain
functions (e.g.  'scroll-up', 'scroll-down') to perform a different
(but intiutive) action.

I know of some methods to obtain this, like 'copy-keymap' followed by
'substitute-key-definition', or by making a wrapper around the
original function.  

It seems to me that real buffer-local functions should be possible
also, e.g.:

	(make-local-variable 'scroll-up)
	(fset 'scroll-up '(lambda ...... )))

But this doesn't work.

Is is possible? And if so - how?

Thanks for any help.

	Johan
-- 
Johan Vromans			 jv@mh.nl via european backbone (mcvax)
Multihouse Automatisering bv		uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7					  phone: +31 1820 62944
2803 PL Gouda - The Netherlands			    fax: +31 1820 62500