(autoload 'gnus-smiley-display "smiley-ems") ; override XEmacs version
)
+(defun gnus-kill-all-overlays ()
+ "Delete all overlays in the current buffer."
+ (let* ((overlayss (overlay-lists))
+ (buffer-read-only nil)
+ (overlays (delq nil (nconc (car overlayss) (cdr overlayss)))))
+ (while overlays
+ (delete-overlay (pop overlays)))))
+
;;; Mule functions.
(defun gnus-mule-max-width-function (el max-width)
"Length of the ring used for `gnus-article-xface-ring-internal'.")
(defvar gnus-article-compface-xbm
- (eq 0 (string-match "#define" (shell-command-to-string "uncompface -X")))
+ (condition-case ()
+ (eq 0 (string-match "#define"
+ (shell-command-to-string "uncompface -X")))
+ (error nil))
"Non-nil means the compface program supports the -X option.
That produces XBM output.")