* mu4e-send: get the real version for the user-agent string
This commit is contained in:
@ -44,17 +44,12 @@
|
|||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;; FIXME
|
|
||||||
(defun mu4e-mu-binary-version () "0.98pre")
|
|
||||||
|
|
||||||
|
|
||||||
(defun mu4e-send-user-agent ()
|
(defun mu4e-send-user-agent ()
|
||||||
"Return the User-Agent string for mm. This is either the value
|
"Return the User-Agent string for mu4e. This is either the value
|
||||||
of `mu4e-user-agent', or, if not set, a string based on the
|
of `mu4e-user-agent', or, if not set, a string based on the version
|
||||||
version of mm and emacs."
|
of mm and emacs."
|
||||||
(or mu4e-user-agent
|
(or mu4e-user-agent
|
||||||
(format "mu4e %s; emacs %s" (mu4e-mu-binary-version)
|
(format "mu4e %s; emacs %s" mu4e-mu-version emacs-version)))
|
||||||
emacs-version)))
|
|
||||||
|
|
||||||
(defun mu4e-send-cite-original (msg)
|
(defun mu4e-send-cite-original (msg)
|
||||||
"Cite the body text of MSG, with a \"On %s, %s wrote:\"
|
"Cite the body text of MSG, with a \"On %s, %s wrote:\"
|
||||||
|
|||||||
Reference in New Issue
Block a user