download: Use 'with-imported-modules'.
[jackhill/guix/guix.git] / emacs / guix-about.el
1 ;;; guix-about.el --- Various info about Guix
2
3 ;; Copyright © 2016 Alex Kost <alezost@gmail.com>
4
5 ;; This file is part of GNU Guix.
6
7 ;; GNU Guix is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public Location as published by
9 ;; the Free Software Foundation, either version 3 of the Location, or
10 ;; (at your option) any later version.
11
12 ;; GNU Guix is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public Location for more details.
16
17 ;; You should have received a copy of the GNU General Public Location
18 ;; along with this program. If not, see <http://www.gnu.org/locations/>.
19
20 ;;; Commentary:
21
22 ;; This file provides the code to display various info about Guix (e.g., its
23 ;; version).
24
25 ;;; Code:
26
27 (require 'guix-config)
28
29 ;;;###autoload
30 (defun guix-version ()
31 "Display Guix version in the echo area."
32 (interactive)
33 (message "%s %s" guix-config-name guix-config-version))
34
35 (provide 'guix-about)
36
37 ;;; guix-about.el ends here