From db0c709b9aa75b44cdc6a5c0e0b9c9a1ab5212ec Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 3 Mar 2016 12:53:03 +0300 Subject: emacs: Use '@' to separate package names and version numbers. This is a followup to commit 1b846da8c372bee78851439fd9e72b2499115e5a. * emacs/guix-base.el (guix-package-name-specification): Use "@" instead of "-". * emacs/guix-main.scm (name+version->full-name): Likewise. (package-inputs-names): Use 'make-package-specification' instead of 'package-full-name'. (full-name->name+version): Update the docstring. * emacs/guix-ui-package.el (guix-packages-by-name): Likewise. --- emacs/guix-base.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/guix-base.el') diff --git a/emacs/guix-base.el b/emacs/guix-base.el index 1248ecbce5..75d19cbfe0 100644 --- a/emacs/guix-base.el +++ b/emacs/guix-base.el @@ -44,7 +44,7 @@ (defun guix-package-name-specification (name version &optional output) "Return Guix package specification by its NAME, VERSION and OUTPUT." - (concat name "-" version + (concat name "@" version (when output (concat ":" output)))) -- cgit v1.2.3