diff options
author | Alex Kost <alezost@gmail.com> | 2015-08-16 07:11:57 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-08-30 18:26:02 +0300 |
commit | 51dac383392a723aa77b0496cf12c593b013cb2b (patch) | |
tree | 25eb7bccd6d92235c25d54f31cded6eab4f4910d /gnu | |
parent | d007d8a10cbc3100fe71b61add8eb7723a1c93e8 (diff) | |
download | guix-51dac383392a723aa77b0496cf12c593b013cb2b.tar.gz guix-51dac383392a723aa77b0496cf12c593b013cb2b.zip |
emacs: Add and use alist accessors.
* emacs/guix-utils.el (guix-define-alist-accessor): New macro.
(guix-assq-value, guix-assoc-value): New functions.
(guix-get-key-val): Remove.
* emacs/guix-base.el: Replace 'guix-get-key-val' with 'guix-assq-value'
everywhere.
* emacs/guix-info.el: Likewise.
* emacs/guix-list.el: Likewise.
* emacs/guix-messages.el: Likewise.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions