mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05: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:
parent
fc7a28897c
commit
7171d824d7
1 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue