Thanks for the help everyone. The winner-mode was not exactly want I wanted but it can work. make-variable-buffer-local works fine.
Lars
Kevin Rodgers wrote:
Oliver Scholz wrote:> Lars Brange <lars.brange@aurum.se> writes:
>>Also, I would like emacs to remember the last i-search string for each
>>window or buffer. Now I have a global i-search string for all
>>windows/buffers.
>>
> [...]
>
> To get this buffer local, you could eval
>
> (make-local-variable 'search-ring)
>
> in your buffer (use a hook etc. as appropriate).Or in your ~/.emacs file (i.e. globally):
(make-variable-buffer-local 'search-ring)
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>