1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
emacs/doc
Helmut Eller 5129ea4b05 Improve interactive prompting for face colors
When displaying the completion candidates, show how the face would
look with the new foreground/background.

* lisp/faces.el (faces--string-with-color): New helper,
factored out from 'defined-colors-with-face-attributes'.
(defined-colors-with-face-attributes): Use it.
(read-color): Add optional argument FACE and pass
it to 'faces--string-with-color.'
(read-face-attribute): Call 'read-color' with more appropriate
foreground and face arguments.

* doc/lispref/minibuf.texi (High-Level Completion): Describe
the intention behind the arguments FOREGROUND and FACE of
'read-color'.  (Bug#64725)
2023-08-03 10:45:41 +03:00
..
emacs ; Better documentation of HOME on MS-Windows 2023-07-30 10:23:51 +03:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (car & cdr): Fix typo. 2023-06-25 08:27:01 +03:00
lispref Improve interactive prompting for face colors 2023-08-03 10:45:41 +03:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc ; Prefer HTTPS to HTTP in more links 2023-08-02 23:32:28 +02:00