help-gnu-emacs
[Top][All Lists]
Advanced

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

Printing coloured strings in help-buffer


From: Heime
Subject: Printing coloured strings in help-buffer
Date: Sat, 13 Apr 2024 22:20:06 +0000

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" )))




reply via email to

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