all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Printing coloured strings in help-buffer
@ 2024-04-13 22:20 Heime
  2024-04-13 23:21 ` Heime
  0 siblings, 1 reply; 3+ messages in thread
From: Heime @ 2024-04-13 22:20 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

How can I print text with colour?   Have made the following and want
vcname and vcfile to print in colour, in the help buffer.


(defun gali-intro (vcname vcfile)
  "TODO"

  (princ
    (concat
     "`" vcname "' is a variable defined in `" vcfile "'.\n\n"
     "Its description is shown below.\n\n")) )

(defun gali-vconst ()
  (with-help-window (help-buffer)
    (gali-intro "gali-minicompl" "gali.el" )))




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-14  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-13 22:20 Printing coloured strings in help-buffer Heime
2024-04-13 23:21 ` Heime
2024-04-14  6:55   ` Bruno Barbier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.