Function: gnus-picon-insert-glyph

gnus-picon-insert-glyph is a byte-compiled function defined in gnus-picon.el.gz.

Signature

(gnus-picon-insert-glyph GLYPH CATEGORY &optional NOSTRING)

Documentation

Insert GLYPH into the buffer.

GLYPH can be either a glyph or a string. When NOSTRING, no textual replacement is added.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-picon.el.gz
(defun gnus-picon-insert-glyph (glyph category &optional nostring)
  "Insert GLYPH into the buffer.
GLYPH can be either a glyph or a string.  When NOSTRING, no textual
replacement is added."
  ;; Using NOSTRING prevents wrong BBDB entries with `gnus-picon-style' set to
  ;; 'right.
  (if (stringp glyph)
      (insert glyph)
    (gnus-add-wash-type category)
    (gnus-add-image category (car glyph))
    (gnus-put-image (car glyph) (unless nostring (cdr glyph)) category)))