chiark / gitweb /
dot/ercrc.el: Hack `mdw-pushnew-replace' for newer Emacsen.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 1 Aug 2017 14:25:11 +0000 (15:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 1 Aug 2017 14:28:37 +0000 (15:28 +0100)
commit129a1a0c99dbc61c2b3c02c1d5c388574082820b
tree4b284ff85dcfd728f5a36a22377c2670bdc7a72b
parent4833e35c767064c484ab4d44932efee859a5143f
dot/ercrc.el: Hack `mdw-pushnew-replace' for newer Emacsen.

Irritatingly, Emacs 24's `cl' has entirely different generalized-
variable support and it's not even slightly compatible.  Fortunately,
the new thing is much simpler.

Factor out the calculation into a function, and modify the macro to pick
the right way to do the plumbing.
dot/ercrc.el