libkookie: update emacs configuration

wip/yesman
Katharina Fey 3 years ago
parent cb4f61076a
commit 73ed6a860c
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 5
      infra/libkookie/overlays/kookie/emacs/default.nix
  2. 3
      infra/libkookie/overlays/kookie/emacs/kookie-notmuch/default.el

@ -18,20 +18,21 @@ pkgs.emacsWithPackages (epkgs:
in in
with epkgs; [ with epkgs; [
kookie-config kookie-config
################################################################## ##################################################################
# A set of simple module that don't require special configuration # A set of simple module that don't require special configuration
# #
# #
# Simple language modes # Simple language modes
elixir-mode
fish-mode fish-mode
markdown-mode markdown-mode
nim-mode nim-mode
nix-mode nix-mode
python-mode python-mode
raku-mode raku-mode
# Utility moduse # Utility moduse
direnv direnv
fzf fzf

@ -28,6 +28,7 @@
(if (eq (widget-type (widget-at)) 'editable-field) (if (eq (widget-type (widget-at)) 'editable-field)
(beginning-of-line))))) (beginning-of-line)))))
;;; Custom function to apply patches from e-mails
(define-transient-command notmuch-apply-email () (define-transient-command notmuch-apply-email ()
"Apply patches received by email." "Apply patches received by email."
["Arguments" ["Arguments"
@ -43,5 +44,3 @@
(let ((repository (read-directory-name "Select repository"))) (let ((repository (read-directory-name "Select repository")))
(cd repository) (cd repository)
(notmuch-show-pipe-message t "git am -3 -"))) (notmuch-show-pipe-message t "git am -3 -")))

Loading…
Cancel
Save