From 61054475298d4adaca40eb2fbf60c743a3f82fbc Mon Sep 17 00:00:00 2001 From: Chris Bernard Date: Tue, 1 Jun 2010 13:02:53 -0400 Subject: 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. --- lib/tools/emacs/erlang-eunit.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tools/emacs') 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 -- cgit v1.2.3