summary refs log tree commit diff
path: root/emacs/guix-pcomplete.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-08-12 15:44:22 +0300
committerAlex Kost <alezost@gmail.com>2015-08-30 18:26:01 +0300
commit1ce96dd9271445133b920cff81bbb44085a5fe7c (patch)
tree2c7dd2d6fb247954c728af2a53f26fbbd2a8c7c1 /emacs/guix-pcomplete.el
parentc10521e97679c35a40926084e049445cc5053254 (diff)
downloadguix-1ce96dd9271445133b920cff81bbb44085a5fe7c.tar.gz
emacs: Add and use 'guix-concat-strings'.
* emacs/guix-utils.el (guix-concat-strings): New function.
* emacs/guix-pcomplete.el (guix-pcomplete-short-options): Use it.
* emacs/guix-base.el (guix-get-package-strings): Likewise.
Diffstat (limited to 'emacs/guix-pcomplete.el')
-rw-r--r--emacs/guix-pcomplete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/guix-pcomplete.el b/emacs/guix-pcomplete.el
index 0049c94d38..2b9249554b 100644
--- a/emacs/guix-pcomplete.el
+++ b/emacs/guix-pcomplete.el
@@ -147,7 +147,7 @@ subcommands, actions, etc. for this guix COMMAND."
   "Return a string with available short options for guix COMMAND."
   guix-pcomplete-parse-short-option-regexp
   (lambda (list)
-    (mapconcat #'identity list "")))
+    (guix-concat-strings list "")))
 
 (guix-memoized-defun guix-pcomplete-all-packages ()
   "Return a list of all available Guix packages."