diff lisp/gnus/gnus-sum.el @ 118:7d55a9ba150c r20-1b11

Import from CVS: tag r20-1b11
author cvs
date Mon, 13 Aug 2007 09:24:17 +0200
parents 9f59509498e1
children cca96a509cfe
line wrap: on
line diff
--- a/lisp/gnus/gnus-sum.el	Mon Aug 13 09:23:08 2007 +0200
+++ b/lisp/gnus/gnus-sum.el	Mon Aug 13 09:24:17 2007 +0200
@@ -2193,8 +2193,8 @@
   ;; We start from the standard display table, if any.
   (let ((table (or (copy-sequence standard-display-table)
 		   (make-display-table)))
-	;; Nix out all the control chars...
 	(i 32))
+    ;; Nix out all the control chars...
     (while (>= (setq i (1- i)) 0)
       (aset table i [??]))
     ;; ... but not newline and cr, of course.  (cr is necessary for the
@@ -2205,8 +2205,8 @@
     (let ((i 256))
       (while (>= (setq i (1- i)) 127)
 	;; Only modify if the entry is nil.
-	(or (aref table i)
-	    (aset table i [??]))))
+	(unless (aref table i)
+	  (aset table i [??]))))
     (setq buffer-display-table table)))
 
 (defun gnus-summary-setup-buffer (group)
@@ -2948,7 +2948,8 @@
 		   (gnus-data-find-list
 		    article
 		    (gnus-data-list t)))))
-	      (error ""))
+	      ;; Error on the side of excessive subjects.
+	      (error (mail-header-subject header)))
 	    (mail-header-subject header))
 	   (mail-header-subject header)
 	 "")