diff options
author | Ralf Doering <[email protected]> | 2010-03-22 14:00:19 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-22 19:05:42 +0100 |
commit | 43ae537a151b07a3cd9b96df784e1dd5e6a7f00c (patch) | |
tree | 5f19876606b15c4082e97f204f6a297e27d1437e /lib/tools/src | |
parent | 99101783758b3e4805284aaec16d34dc3597158e (diff) | |
download | otp-43ae537a151b07a3cd9b96df784e1dd5e6a7f00c.tar.gz otp-43ae537a151b07a3cd9b96df784e1dd5e6a7f00c.tar.bz2 otp-43ae537a151b07a3cd9b96df784e1dd5e6a7f00c.zip |
erlang-eunit.el: Require cl, as it is used
erlang-eunit.el (part of erlang-mode) uses "flet", which is only available
if emacs package cl was loaded. The docs of the CL package suggest that
'...packages installed in Emacs must not load "CL" at run time.' We
honour this by using eval-when-compile.
This fixes warnings when byte-compiling erlang-eunit.el with:
emacs -batch -f batch-byte-compile erlang-eunit.el
The warning fixed is:
In erlang-eunit-compile-and-run-tests:
erlang-eunit.el:146:4:Warning: `(save-some-buffers (&optional any) nil)'
is a malformed function
This bug was reported initially against Ubuntu packages, see
https://bugs.launchpad.net/bugs/541893 for reference
Signed-off-by: Ralf Doering <[email protected]>
Diffstat (limited to 'lib/tools/src')
0 files changed, 0 insertions, 0 deletions