Commit ec0ee395 authored by David Byers's avatar David Byers
Browse files

Fix bug 1654

parent 32634593
2008-05-11 <David Byers@GULAG> 2008-05-11 <David Byers@GULAG>
Fix bug 1654:
* edit-text.el (lyskom-edit-send): Use accessors to access parsed
headers.
Fix bug 1660: Fix bug 1660:
* edit-text.el (lyskom-create-text-handler): Added callback and * edit-text.el (lyskom-create-text-handler): Added callback and
callback-data parameters. Juggling buffers to get these right is callback-data parameters. Juggling buffers to get these right is
......
...@@ -521,9 +521,10 @@ This runs `kom-send-text-hook' and (for backwards compatibility) ...@@ -521,9 +521,10 @@ This runs `kom-send-text-hook' and (for backwards compatibility)
(lyskom-edit-send-check-recipients misc-list (lyskom-edit-send-check-recipients misc-list
subject))) subject)))
(if extra-headers (if extra-headers
(setq misc-list (apply 'lyskom-create-misc-list (setq misc-list
(nconc (elt headers 1) (apply 'lyskom-create-misc-list
extra-headers))))) (nconc (lyskom-text-headers->misc-info headers)
extra-headers)))))
;; ;;
;; Check that we don't add ourselves to an anon text ;; Check that we don't add ourselves to an anon text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment