Gnus development mailing list
 help / color / mirror / Atom feed
* bug: unnecessary decoding when remove inline part
@ 1998-11-30  4:58 Shenghuo ZHU
  0 siblings, 0 replies; only message in thread
From: Shenghuo ZHU @ 1998-11-30  4:58 UTC (permalink / raw)



Patch is attached.

ChangeLog:

Sun Nov 29 23:51:57 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* gnus-art.el (gnus-mime-inline-part): Do not get part when
	undisplay the part.

-- 
Shenghuo

:- cut -----
--- gnus-art.el	1998/11/30 04:50:13	1.1
+++ gnus-art.el	1998/11/30 04:51:00
@@ -2350,12 +2350,13 @@
   (interactive "P") ; For compatibility reasons we are not using "z".
   (gnus-article-check-buffer)
   (let* ((data (get-text-property (point) 'gnus-data))
-	 (contents (mm-get-part data))
+	 contents
 	 ;(url-standalone-mode (not gnus-plugged))
 	 (b (point))
 	 buffer-read-only)
     (if (mm-handle-undisplayer data)
 	(mm-remove-part data)
+      (setq contents (mm-get-part data))
       (forward-line 2)
       (when charset 
 	(unless (symbolp charset)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-30  4:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-30  4:58 bug: unnecessary decoding when remove inline part Shenghuo ZHU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).