all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregory Heytings <gregory@heytings.org>
To: emacs-devel@gnu.org
Subject: [PATCH] Autoload list-colors-display
Date: Sat, 10 Apr 2021 12:43:52 +0000	[thread overview]
Message-ID: <5cf18ab57c1ea3bac8e7@heytings.org> (raw)

[-- 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


             reply	other threads:[~2021-04-10 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-10 12:43 Gregory Heytings [this message]
2021-04-10 13:15 ` [PATCH] Autoload list-colors-display Eli Zaretskii
2021-04-10 13:26   ` Gregory Heytings
2021-04-10 13:48     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5cf18ab57c1ea3bac8e7@heytings.org \
    --to=gregory@heytings.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.