From: Shynur Xie <one.last.kiss@outlook.com>
To: 62887@debbugs.gnu.org
Subject: bug#62887: [PATCH] A small supplement and a typo fix for doc/lispref
Date: Sun, 16 Apr 2023 18:37:09 +0000 [thread overview]
Message-ID: <PH0PR04MB7430AA7AE40C19C10560BD9FD79F9@PH0PR04MB7430.namprd04.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
1. Supplement for doc/lispref/customize.texi (Defining Customization
Groups): Faces are also stored in the `custom-group' property.
Original:
The variables and subgroups of a group are stored in the custom-group
property of the group's symbol. ...... The value of that property is a
list of pairs whose car is the variable or subgroup symbol and the cdr
is either custom-variable or custom-group.
Updated:
The variables, faces, and subgroups of a group are stored in the
custom-group property of the group's symbol. ...... The value of that
property is a list of pairs whose car is the variable, face, or
subgroup symbol and the cdr is either custom-variable, custom-face, or
custom-group.
Reason:
```
(defgroup shynur/groupA ()
"")
(defface shynur/groupA-face
()
""
:group 'shynur/groupA)
(get 'shynur/groupA 'custom-group)
;; => ((shynur/groupA-face custom-face))
```
_____________________________________________________________________
2. Fix typo for doc/lispref/loading.texi (Emacs Dynamic Modules): Fix
typo.
Original:
......, if the use typed C-g during the initialization.
Fixed:
......, if the user typed C-g during the initialization.
[-- Attachment #2: 0001-A-small-supplement-and-a-typo-fix-for-doc-lispref.patch --]
[-- Type: application/octet-stream, Size: 2191 bytes --]
From 89da70f90e216f7a16a8c516b230374f853e0c0f Mon Sep 17 00:00:00 2001
From: Shynur <one.last.kiss@outlook.com>
Date: Mon, 17 Apr 2023 02:13:32 +0800
Subject: [PATCH] A small supplement and a typo fix for doc/lispref
* doc/lispref/customize.texi (Defining Customization Groups): Faces are also stored in the `custom-group' property.
* doc/lispref/loading.texi (Emacs Dynamic Modules): Fix typo.
---
doc/lispref/customize.texi | 7 ++++---
doc/lispref/loading.texi | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index 6015c134d21..849fae04a8b 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -264,11 +264,12 @@ have any number of prefixes.
@end table
@cindex @code{custom-group} property
-The variables and subgroups of a group are stored in the
+The variables, faces, and subgroups of a group are stored in the
@code{custom-group} property of the group's symbol. @xref{Symbol
Plists}. The value of that property is a list of pairs whose
-@code{car} is the variable or subgroup symbol and the @code{cdr} is
-either @code{custom-variable} or @code{custom-group}.
+@code{car} is the variable, face, or subgroup symbol and the
+@code{cdr} is either @code{custom-variable}, @code{custom-face}, or
+@code{custom-group}.
@end defmac
@defopt custom-unlispify-remove-prefixes
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 5c84ba4b1eb..d6fc4e8d636 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -1338,7 +1338,7 @@ specified @var{file} and perform the necessary initialization of the
module. This is the primitive which makes sure the module exports the
@code{plugin_is_GPL_compatible} symbol, calls the module's
@code{emacs_module_init} function, and signals an error if that
-function returns an error indication, or if the use typed @kbd{C-g}
+function returns an error indication, or if the user typed @kbd{C-g}
during the initialization. If the initialization succeeds,
@code{module-load} returns @code{t}. Note that @var{file} must
already have the proper file-name extension, as this function doesn't
--
2.34.1
next reply other threads:[~2023-04-16 18:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 18:37 Shynur Xie [this message]
2023-04-18 12:06 ` bug#62887: [PATCH] A small supplement and a typo fix for doc/lispref 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=PH0PR04MB7430AA7AE40C19C10560BD9FD79F9@PH0PR04MB7430.namprd04.prod.outlook.com \
--to=one.last.kiss@outlook.com \
--cc=62887@debbugs.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.