Skip to content
Snippets Groups Projects
Commit 7171d824 authored by Alex Kost's avatar Alex Kost
Browse files

emacs: info: Buttonize package name heading.

* emacs/guix-info.el (guix-package-info-insert-heading): Insert
  buttonized name specification.
parent fc7a2889
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment