Commit Graph

4 Commits (343dc11702bf71876795b5d158cad860deca53a1)

Author SHA1 Message Date
Alex Kost 557361e79f emacs: Add "edit" command to a list of licenses.
* emacs/guix-ui-license.el (guix-license-list-edit): New command.
(guix-license-list-mode-map): Bind it to "e" key.
2016-04-26 12:32:56 +03:00
Alex Kost 57748c2756 emacs: Add license definition button to License Info buffer.
* emacs/guix-ui-license.el (guix-license-insert-file): New procedure.
(guix-license-info-format): Use it.
2016-04-26 12:32:56 +03:00
Alex Kost 8934c3b60f emacs: Display message if license not found.
* emacs/guix-ui-license.el (guix-license-message): New procedure.
(guix-license-info-message-function): Use it.
(guix-license-list-message-function): Likewise.
2016-04-18 10:09:02 +03:00
Alex Kost 27986d7b19 emacs: Separate package license code.
Move list/info interface code from "guix-license.el" to
"guix-ui-license.el".

* emacs/guix-license.el (guix-license-get-entries, guix-license-get-display)
(guix-license-insert-packages-button, guix-license-insert-comment)
(guix-licenses): Move to...
* emacs/guix-ui-license.el: ... here.  New file.
* emacs.am (ELFILES): Add it.
2016-04-18 10:09:02 +03:00