summary refs log tree commit diff
path: root/emacs/guix-external.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/guix-external.el')
-rw-r--r--emacs/guix-external.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/guix-external.el b/emacs/guix-external.el
index c80b36343d..f571ffd845 100644
--- a/emacs/guix-external.el
+++ b/emacs/guix-external.el
@@ -23,6 +23,7 @@
 
 ;;; Code:
 
+(require 'cl-lib)
 (require 'guix-config)
 
 (defgroup guix-external nil
@@ -67,10 +68,9 @@ If ARGS is nil, use `guix-dot-default-arguments'."
   (or guix-dot-program
       (error (concat "Couldn't find 'dot'.\n"
                      "Set guix-dot-program to a proper value")))
-  (apply #'list
-         guix-dot-program
-         (concat "-o" output-file)
-         (or args guix-dot-default-arguments)))
+  (cl-list* guix-dot-program
+            (concat "-o" output-file)
+            (or args guix-dot-default-arguments)))
 
 (defun guix-dot-file-name ()
   "Call `guix-dot-file-name-function'."