mirror of https://github.com/djcb/mu.git
mu4e/icalendar: fix free variable ‘original-msg’
This commit is contained in:
parent
e6d92d4fef
commit
3621314ac2
|
@ -172,13 +172,10 @@ response in icalendar format."
|
|||
;; also trash the message (thus must be appended to hooks).
|
||||
(add-hook
|
||||
'message-sent-hook
|
||||
#'mu4e~icalendar-setup-sent-hook-fn
|
||||
(defun mu4e~icalendar-trash-hook()
|
||||
(setq mu4e-sent-func (mu4e~icalendar-trash-message original-msg)))
|
||||
t t))))
|
||||
|
||||
(defun mu4e~icalendar-setup-sent-hook-fn ()
|
||||
(setq mu4e-sent-func
|
||||
(mu4e~icalendar-trash-message original-msg)))
|
||||
|
||||
(defun mu4e~icalendar-insert-diary (event reply-status filename)
|
||||
"Insert a diary entry for the EVENT in file named FILENAME.
|
||||
REPLY-STATUS is the status of the reply. The possible values are
|
||||
|
|
Loading…
Reference in New Issue