Emacs/Guix: Require and set bindings properly
parent
fed49a4086
commit
e1bb67d25f
|
@ -29,6 +29,8 @@
|
|||
(call-interactively 'debbugs-gnu)
|
||||
(debbugs-gnu severities packages archivedp suppress tags))))
|
||||
|
||||
(require 'guix nil 'noerror)
|
||||
|
||||
(defun ambrevar/guix-generations-list-diff-this ()
|
||||
"List guix-generation-list-diff but compare generation at point
|
||||
with previous."
|
||||
|
@ -38,6 +40,8 @@ with previous."
|
|||
(funcall diff-fun
|
||||
(funcall gen-fun (1- (bui-list-current-id)))
|
||||
(funcall gen-fun (bui-list-current-id)))))
|
||||
(define-key guix-generation-list-mode-map "=" #'ambrevar/guix-generations-list-diff-this)
|
||||
|
||||
(with-eval-after-load 'guix-ui-generation
|
||||
(define-key guix-generation-list-mode-map "=" #'ambrevar/guix-generations-list-diff-this))
|
||||
|
||||
(provide 'init-guix)
|
||||
|
|
Loading…
Reference in New Issue