:type 'sexp
:group 'gnus-article-hiding)
+;; Fixme: This isn't the right thing for mixed graphical and and
+;; non-graphical frames in a session.
(defcustom gnus-article-x-face-command
(if (and (fboundp 'image-type-available-p)
(image-type-available-p 'xbm))
(forward-line 1)
(save-restriction
(narrow-to-region (point) (point-max))
+ (when (and (eq mail-parse-charset 'gnus-decoded)
+ (eq (mm-body-7-or-8) '8bit))
+ ;; The text code could have been decoded.
+ (setq charset mail-parse-charset))
(when (and (or (not ctl)
(equal (car ctl) "text/plain"))
(not format)) ;; article with format will decode later.
(move-to-window-line -1)
(if (save-excursion
(end-of-line)
- ;; Redisplay before the visibility test; else we don't DTRT
- ;; with Emacs 21 images, for instance.
- (sit-for 0)
(and (pos-visible-in-window-p) ;Not continuation line.
(eobp)))
;; Nothing in this page.
"Exit the article editing without updating."
(interactive)
;; We remove all text props from the article buffer.
- (let ((buf (format "%s" (buffer-string)))
+ (let ((buf (buffer-substring-no-properties (point-min) (point-max)))
(curbuf (current-buffer))
(p (point))
(window-start (window-start)))