email: add import calendar action
This commit is contained in:
parent
2c78782889
commit
b66a52630d
8
+mail.el
8
+mail.el
@ -89,6 +89,14 @@
|
||||
(map! :map mu4e-headers-mode-map
|
||||
:vne "l" #'max/mu4e-org-capture)
|
||||
|
||||
(add-to-list 'mu4e-view-mime-part-actions
|
||||
'(:name "calendar"
|
||||
:handler (lambda (file)
|
||||
(shell-command
|
||||
(format "khal import --batch %s" file))
|
||||
(khalel-import-events))
|
||||
:receives temp))
|
||||
|
||||
;; Sign sent email automatically
|
||||
;; (add-hook 'message-send-hook 'mml-secure-message-sign-smime)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user