X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-uu.el;h=a74bc66ea43cf44ff2e6bf6d9a81f9d0a5fe522d;hb=931e64049c6d898e55d204449f536e170937a03c;hp=646da71c009d957f08dca355176365c7efa95a2a;hpb=7daaa2d776d3846b933c51bf1ccf5c5cc22a1437;p=gnus diff --git a/lisp/gnus-uu.el b/lisp/gnus-uu.el index 646da71c0..a74bc66ea 100644 --- a/lisp/gnus-uu.el +++ b/lisp/gnus-uu.el @@ -299,7 +299,8 @@ so I simply dropped them." "^MIME-Version:" "^Content-Disposition:" "^Content-Description:" "^Content-ID:") "*List of regexps to match headers included in digested messages. -The headers will be included in the sequence they are matched." +The headers will be included in the sequence they are matched. If nil +include all headers." :group 'gnus-extract :type '(repeat regexp)) @@ -868,7 +869,7 @@ When called interactively, prompt for REGEXP." (setq body (buffer-substring (1- (point)) (point-max))) (narrow-to-region (point-min) (point)) (if (not (setq headers gnus-uu-digest-headers)) - (setq sorthead (buffer-substring (point-min) (point-max))) + (setq sorthead (buffer-string)) (while headers (setq headline (car headers)) (setq headers (cdr headers)) @@ -1088,7 +1089,7 @@ When called interactively, prompt for REGEXP." (while (re-search-forward "[ \t]+" nil t) (replace-match "[ \t]+" t t)) - (buffer-substring (point-min) (point-max)))) + (buffer-string))) (defun gnus-uu-get-list-of-articles (n) ;; If N is non-nil, the article numbers of the N next articles