[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please install this bug fix.

From: Richard Stallman
Subject: Please install this bug fix.
Date: Wed, 15 Feb 2017 05:31:06 -0500

This is a bug fix -- would someone please install it for me and ack,
so I don't have to wrestle with git?

2017-02-14  Richard Stallman  <address@hidden>

* lisp/mail/rmail.el (rmail-epa-decrypt-1): Include the just-decrypted text
as element 4 of the value.
(rmail-epa-decrypt): Take the text to insert from that element.

diff -u /home/rms/emacs-git/build-dec-29/lisp/mail/rmail.el.\~1\~ 
--- /home/rms/emacs-git/build-dec-29/lisp/mail/rmail.el.~1~     2016-06-05 
14:08:01.998804517 -0400
+++ /home/rms/emacs-git/build-dec-29/lisp/mail/rmail.el 2017-01-07 
19:24:41.104269774 -0500
@@ -4590,7 +4590,8 @@
     (list armor-start (- (point-max) after-end) mime
-          armor-end-regexp)))
+          armor-end-regexp
+          (buffer-substring armor-start (- (point-max) after-end)))))
 (declare-function rmail-mime-entity-truncated "rmailmm" (entity))
@@ -4652,7 +4653,7 @@
                      ;; Found as expected -- now replace it with the decrypt.
                      (when armor-end
                        (delete-region armor-start armor-end)
-                       (insert-buffer-substring from-buffer (nth 0 d) (nth 1 
+                        (insert (nth 4 d)))
                      ;; Change the mime type (if this is in a mime part)
                      ;; so this part will display by default

Diff finished.  Tue Feb 14 16:06:09 2017

Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]