Subject: bug#14377: 24.3.50; patch: run a hook after `bookmark-write'

From: Stefan Monnier <[email-masked]>
Date: Fri, 10 May 2013 17:09:34 -0400

> I want always to export my bookmarks when bookmark file is saved.
> Consider this simple patch.

You could use

  (defadvice bookmark-write-file (after export activate)
    (do what I want))

Of course, we could also install something like your patch, but the hook
functions will probably need access to the file name (which might turn into
a lexically scoped var any time).

        Stefan