From: Stefan Kangas <stefan@marxist.se>
To: 41026@debbugs.gnu.org
Subject: bug#41026: Improve documentation of `makunbound' and `fmakunbound'
Date: Sat, 2 May 2020 15:53:37 +0200 [thread overview]
Message-ID: <CADwFkmk-u4GJS2or2P8ri+q6i1YtZO0OD9=hdBcqzrfs4jGomg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
Severity: wishlist
Any objections to or comments on the attached patch? Thanks.
Best regards,
Stefan Kangas
[-- Attachment #2: 0001-Improve-doc-strings-of-makunbound-and-fmakunbound.patch --]
[-- Type: text/x-patch, Size: 1379 bytes --]
From f1cab1061f02cb88c9e63a67935e9701cee3781d Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Sat, 2 May 2020 15:51:31 +0200
Subject: [PATCH] Improve doc strings of makunbound and fmakunbound
* src/data.c (Fmakunbound, Ffmakunbound): Improve doc strings.
---
src/data.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/data.c b/src/data.c
index bce2e53cfb..e7b9e74a30 100644
--- a/src/data.c
+++ b/src/data.c
@@ -695,8 +695,12 @@ DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
}
DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0,
- doc: /* Make SYMBOL's value be void.
-Return SYMBOL. */)
+ doc: /* Make variable SYMBOL's value be void.
+Return SYMBOL.
+
+For more information, see Info node `(elisp) Void Variables'.
+
+The corresponding operation for functions is `fmakunbound'. */)
(register Lisp_Object symbol)
{
CHECK_SYMBOL (symbol);
@@ -708,7 +712,11 @@ DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0,
DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0,
doc: /* Make SYMBOL's function definition be nil.
-Return SYMBOL. */)
+Return SYMBOL.
+
+For more information, see Info node `(elisp) Function Cells'.
+
+The corresponding operation for variables is `makunbound'. */)
(register Lisp_Object symbol)
{
CHECK_SYMBOL (symbol);
--
2.26.2
next reply other threads:[~2020-05-02 13:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 13:53 Stefan Kangas [this message]
2020-05-02 14:03 ` bug#41026: Improve documentation of `makunbound' and `fmakunbound' Eli Zaretskii
2020-05-02 14:17 ` Stefan Kangas
2020-05-02 14:22 ` Eli Zaretskii
2020-05-02 20:25 ` Stefan Kangas
2020-05-02 21:12 ` Andreas Schwab
2020-05-02 21:30 ` Stefan Kangas
2020-05-04 3:06 ` Richard Stallman
2020-05-04 7:31 ` Andreas Schwab
2020-05-04 12:52 ` Stefan Kangas
2020-05-04 13:05 ` Andreas Schwab
2020-05-03 14:21 ` Eli Zaretskii
2020-05-03 20:07 ` Stefan Kangas
2020-05-02 14:55 ` Andreas Schwab
2020-05-02 15:00 ` Stefan Kangas
2020-05-02 15:41 ` Eli Zaretskii
2020-05-02 20:22 ` Drew Adams
2020-05-03 3:43 ` Richard Stallman
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='CADwFkmk-u4GJS2or2P8ri+q6i1YtZO0OD9=hdBcqzrfs4jGomg@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=41026@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.