-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, February 2 at 11:05 AM, quoth Christian Brabandt:
> On Fri, 30 Jan 2009, Kyle Wheeler wrote:
>> On Friday, January 30 at 03:26 PM, quoth Paul E Condon:
>>> What would be a save-hook that delivers equivalent logic to what
>>> is built in?
>>
>> There isn't one. To my knowledge, the target of a save-hook cannot
>> depend on the matched pattern.
>
> Yes you can. You can use %-expandos of the index format. See the
> manual. So something like this should work (untested, I have never
> used save-hooks, just remember having read it somewhere):
>
> save-hook . ./%F
>
> (I think this is the default behaviour)
Huh! Learn something new every day... Cool!
~Kyle
- --
Human beings are the only creatures that allow their children to come
back home.
-- Bill Cosby
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkmHC/kACgkQBkIOoMqOI177BgCeI4SRgEgsnWzYBc17ftOxarp2
yBgAn3RW32m0h5IPl0ZBLrfOQ81zvbFZ
=Xws/
-----END PGP SIGNATURE-----