mu4e: mark mu4e-sent-func as obsolete
mu4e-sent-func was used internally (triggered by mu-server), but is no longer in use, so let's remove it and mark as obsolete. Obsolete its callers as well.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
;;; mu4e-server.el --- Control mu server from mu4e -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 2011-2023 Dirk-Jan C. Binnema
|
||||
;; Copyright (C) 2011-2024 Dirk-Jan C. Binnema
|
||||
|
||||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
@ -117,11 +117,6 @@ See `mu4e--server-filter' for the format.")
|
||||
This happens when some message has been deleted. The function is
|
||||
passed the docid of the removed message.")
|
||||
|
||||
(defvar mu4e-sent-func nil
|
||||
"Function called for each :sent sexp received.
|
||||
This happens when some message has been sent. The function is
|
||||
passed the docid and the draft-path of the sent message.")
|
||||
|
||||
(defvar mu4e-view-func nil
|
||||
"Function called for each single-message sexp.
|
||||
The function is passed a message sexp as argument. See
|
||||
@ -358,12 +353,6 @@ The server output is as follows:
|
||||
((plist-get sexp :erase)
|
||||
(funcall mu4e-erase-func))
|
||||
|
||||
;; receive a :sent message
|
||||
((plist-get sexp :sent)
|
||||
(funcall mu4e-sent-func
|
||||
(plist-get sexp :docid)
|
||||
(plist-get sexp :path)))
|
||||
|
||||
;; received a pong message
|
||||
((plist-get sexp :pong)
|
||||
(setq mu4e--server-props (plist-get sexp :props))
|
||||
|
||||
Reference in New Issue
Block a user