[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: add-hook and defvar
From: |
Drew Adams |
Subject: |
RE: add-hook and defvar |
Date: |
Sat, 21 Feb 2015 13:05:36 -0800 (PST) |
> The big disadvantage is that it's not backwards compatible. Any code
> out there that relies on the variable being set by `add-hook' will
> break.
>From that alone it does not sound like a good idea to me. `add-hook'
has been around forever. The amount of 3rd-party code that calls it
and expects the longstanding behavior must be non-neglible.
Just one opinion.