[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14377: 24.3.50; patch: run a hook after `bookmark-write'
From: |
Drew Adams |
Subject: |
bug#14377: 24.3.50; patch: run a hook after `bookmark-write' |
Date: |
Sun, 12 May 2013 11:01:37 -0700 |
> >> 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).
>
> Aren't matters of extensibility like this one reason why
> http://www.gnu.org/software/emacs/emacs-paper.html#SEC15
> favours dynamic binding?
;-)
FWIW, Bookmark+ has such a hook: `bmkp-write-bookmark-file-hook'. (And it
passes the file name to the hook functions.)