[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/38: emacs: info: Buttonize package name heading.
From: |
Alex Kost |
Subject: |
25/38: emacs: info: Buttonize package name heading. |
Date: |
Sat, 02 Jan 2016 14:27:24 +0000 |
alezost pushed a commit to branch master
in repository guix.
commit 7171d824d781db9c06df4c14c41b44e7f4cddb20
Author: Alex Kost <address@hidden>
Date: Mon Nov 23 00:18:38 2015 +0300
emacs: info: Buttonize package name heading.
* emacs/guix-info.el (guix-package-info-insert-heading): Insert
buttonized name specification.
---
emacs/guix-info.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/emacs/guix-info.el b/emacs/guix-info.el
index b52bd73..80443f2 100644
--- a/emacs/guix-info.el
+++ b/emacs/guix-info.el
@@ -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.
- 08/38: emacs: Add 'guix-keyword-args-let'., (continued)
- 08/38: emacs: Add 'guix-keyword-args-let'., Alex Kost, 2016/01/02
- 10/38: emacs: list: Generalize 'marks' code., Alex Kost, 2016/01/02
- 13/38: emacs: list: Add 'guix-list-mode-initialize'., Alex Kost, 2016/01/02
- 03/38: emacs: Add API for 'guix-entry'., Alex Kost, 2016/01/02
- 06/38: emacs: Rename internal procedures., Alex Kost, 2016/01/02
- 11/38: emacs: list: Generalize 'describe' code., Alex Kost, 2016/01/02
- 14/38: emacs: list: Split 'guix-list-format' variable., Alex Kost, 2016/01/02
- 20/38: emacs: Add wrappers for 'history-size' and 'revert-confirm'., Alex Kost, 2016/01/02
- 23/38: emacs: Generalize buffer reverting., Alex Kost, 2016/01/02
- 19/38: emacs: Split 'guix-param-titles' variable., Alex Kost, 2016/01/02
- 25/38: emacs: info: Buttonize package name heading.,
Alex Kost <=
- 22/38: emacs: Generalize buffer redisplaying., Alex Kost, 2016/01/02
- 21/38: emacs: Split 'guix-root-map' keymap., Alex Kost, 2016/01/02
- 27/38: emacs: info: Get rid of syntactic fontification., Alex Kost, 2016/01/02
- 24/38: emacs: Improve messages for packages found by ID., Alex Kost, 2016/01/02
- 18/38: emacs: info: Split 'guix-info-format' variable., Alex Kost, 2016/01/02
- 32/38: emacs: Add 'guix-list-get-display-entries'., Alex Kost, 2016/01/02
- 17/38: emacs: Factorize macros for defining interfaces., Alex Kost, 2016/01/02
- 33/38: emacs: Return nil instead of "" in completing readers., Alex Kost, 2016/01/02
- 31/38: emacs: Add 'list-single' variables., Alex Kost, 2016/01/02
- 29/38: emacs: Reorganize 'readers' code., Alex Kost, 2016/01/02