aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorChris Bernard <[email protected]>2010-06-01 13:02:53 -0400
committerRaimo Niskanen <[email protected]>2010-06-07 14:27:12 +0200
commit61054475298d4adaca40eb2fbf60c743a3f82fbc (patch)
treed652e192b4e4ceb52a0a2a1710f1cd5b90214a02 /lib/tools
parentbe2ea4ee8e7cfb10e76f7cb15fa7cae725c06eed (diff)
downloadotp-61054475298d4adaca40eb2fbf60c743a3f82fbc.tar.gz
otp-61054475298d4adaca40eb2fbf60c743a3f82fbc.tar.bz2
otp-61054475298d4adaca40eb2fbf60c743a3f82fbc.zip
erlang-eunit: remove runtime dependency on cl package
Follow the GNU recommendation of not introducing runtime dependencies on the Common Lisp package in ELisp packages that will be distributed for widespread use. In practice this means it's ok to use cl macros but not functions.
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/emacs/erlang-eunit.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tools/emacs/erlang-eunit.el b/lib/tools/emacs/erlang-eunit.el
index 7453c59390..f2c0db67dd 100644
--- a/lib/tools/emacs/erlang-eunit.el
+++ b/lib/tools/emacs/erlang-eunit.el
@@ -160,9 +160,9 @@ buffer and vice versa"
;;; Record info about the most recent running of EUnit
;;; Known modes are 'module-mode and 'test-mode
(defun erlang-eunit-record-recent (mode module test)
- (setq erlang-eunit-recent-info (pairlis '(mode module test cover)
- (list mode module test
- (erlang-eunit-recent 'cover)))))
+ (setcdr (assq 'mode erlang-eunit-recent-info) mode)
+ (setcdr (assq 'module erlang-eunit-recent-info) module)
+ (setcdr (assq 'test erlang-eunit-recent-info) test))
;;; Record whether the most recent running of EUnit included cover
;;; compilation