1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-07 05:14:05 +02:00

emacs: info: Buttonize package name heading.

* emacs/guix-info.el (guix-package-info-insert-heading): Insert
  buttonized name specification.
This commit is contained in:
Alex Kost
2015-11-23 00:18:38 +03:00
parent fc7a28897c
commit 7171d824d7
+4 -3
View File
@@ -560,9 +560,10 @@ After calling each METHOD, a new line is inserted."
(defun guix-package-info-insert-heading (entry)
"Insert package ENTRY heading (name specification) at point."
(guix-format-insert (concat (guix-entry-value entry 'name) " "
(guix-entry-value entry 'version))
'guix-package-info-heading))
(guix-insert-button
(guix-package-entry->name-specification entry)
'guix-package-name
'face 'guix-package-info-heading))
(defmacro guix-package-info-define-insert-inputs (&optional type)
"Define a face and a function for inserting package inputs.