emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cannot understand Elisp manual node Glyphs


From: Drew Adams
Subject: RE: cannot understand Elisp manual node Glyphs
Date: Wed, 7 Feb 2007 08:21:17 -0800

> For what it's worth, I offer
> (defun string-to-glyphs (str &optional face)
>   "Return a glyph vector representing string STR with face FACE."
>   (vconcat (mapcar (lambda (c) (make-glyph-with-face c face)) str)))

Just what I was going to do. But I agree that we might as well have such a
function.
(However, the case where FACE is nil needs to be treated also.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]