]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix up remainder of the mml property change
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 29 May 2016 17:42:36 +0000 (19:42 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 29 May 2016 17:42:36 +0000 (19:42 +0200)
* lisp/gnus/message.el (message-send-mail): Use the renamed
mml-buffer-substring-no-properties-except-some function.
(message-send-news): Ditto.

lisp/gnus/message.el

index a998687ccb3371c024b33d1bfcd57e4fe5b65fdb..03ce789e9eb1229303e87d800f31c5660fd087c2 100644 (file)
@@ -4545,7 +4545,7 @@ This function could be useful in `message-setup-hook'."
          (setq message-options options)
          ;; Avoid copying text props (except hard newlines).
          (insert (with-current-buffer mailbuf
-                   (mml-buffer-substring-no-properties-except-hard-newlines
+                   (mml-buffer-substring-no-properties-except-some
                     (point-min) (point-max))))
          ;; Remove some headers.
          (message-encode-message-body)
@@ -4909,7 +4909,7 @@ Otherwise, generate and save a value for `canlock-password' first."
              ;; Avoid copying text props (except hard newlines).
              (insert
               (with-current-buffer messbuf
-                (mml-buffer-substring-no-properties-except-hard-newlines
+                (mml-buffer-substring-no-properties-except-some
                  (point-min) (point-max))))
              (message-encode-message-body)
              ;; Remove some headers.