* mu4e-send: get the real version for the user-agent string

This commit is contained in:
djcb
2012-01-07 14:27:00 +02:00
parent 530c69f763
commit 35f932bda5

View File

@ -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:\"