Function: gnus-random-x-face

gnus-random-x-face is an autoloaded, interactive and byte-compiled function defined in gnus-fun.el.gz.

Signature

(gnus-random-x-face)

Documentation

Return X-Face header data chosen randomly from gnus-x-face-directory.

Files matching gnus-x-face-omit-files are not considered.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-fun.el.gz
;;;###autoload
(defun gnus-random-x-face ()
  "Return X-Face header data chosen randomly from `gnus-x-face-directory'.

Files matching `gnus-x-face-omit-files' are not considered."
  (interactive)
  (gnus--random-face-with-type
   gnus-x-face-directory "\\.pbm$" gnus-x-face-omit-files
   (lambda (file)
     (gnus-shell-command-to-string
      (format gnus-convert-pbm-to-x-face-command
	      (shell-quote-argument file))))))