all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Autoload list-colors-display
@ 2021-04-10 12:43 Gregory Heytings
  2021-04-10 13:15 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Heytings @ 2021-04-10 12:43 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]


Facemenu is not preloaded anymore, but the manual (info "(emacs)Colors for 
Faces") mentions M-x list-colors-display.  Patch attached.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff; name=0001-Autoload-list-colors-display.patch, Size: 936 bytes --]

From b2717eae8e801dcddbcb8f605a59509ae1e0a8de Mon Sep 17 00:00:00 2001
From: Gregory Heytings <gregory@heytings.org>
Date: Sat, 10 Apr 2021 12:35:06 +0000
Subject: [PATCH] Autoload list-colors-display.

* lisp/facemenu.el (list-colors-display): Autoload, it is mentioned
in (info "(emacs)Colors for Faces").
---
 lisp/facemenu.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 2d06658b55..8db1b42db4 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -539,6 +539,7 @@ list-colors-redisplay
 This is installed as a `revert-buffer-function' in the *Colors* buffer."
   (list-colors-display nil (buffer-name) list-colors-callback))
 
+;;;###autoload
 (defun list-colors-display (&optional list buffer-name callback)
   "Display names of defined colors, and show what they look like.
 If the optional argument LIST is non-nil, it should be a list of
-- 
2.30.2


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

end of thread, other threads:[~2021-04-10 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-10 12:43 [PATCH] Autoload list-colors-display Gregory Heytings
2021-04-10 13:15 ` Eli Zaretskii
2021-04-10 13:26   ` Gregory Heytings
2021-04-10 13:48     ` Eli Zaretskii

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.