From: John Paul Wallington <jpw@shootybangbang.com>
Subject: C-h f facemenu-menu "missing arglist" query
Date: Tue, 06 Aug 2002 00:05:32 +0100 [thread overview]
Message-ID: <E17bquq-00031L-00@bundalo.shootybangbang.com> (raw)
C-h f facemenu-menu will report a missing arglist. It seems better
to omit the arglist info when function's definition is a keymap; is
that a good idea?
How about this:
*** help-fns.el 31 Jul 2002 22:28:30 -0000 1.20
--- help-fns.el 5 Aug 2002 22:54:15 -0000
***************
*** 300,312 ****
(let* ((arglist (help-function-arglist def))
(doc (documentation function))
usage)
! (princ (cond
! ((listp arglist) (help-make-usage function arglist))
! ((stringp arglist) arglist)
! ((and doc (subrp def) (setq usage (help-split-fundoc doc def)))
! (setq doc (cdr usage)) (car usage))
! (t "[Missing arglist. Please make a bug report.]")))
! (terpri)
(let ((obsolete (and
;; function might be a lambda construct.
(symbolp function)
--- 300,314 ----
(let* ((arglist (help-function-arglist def))
(doc (documentation function))
usage)
! ;; If definition is a keymap, skip missing arglist note.
! (unless (keymapp def)
! (princ (cond
! ((listp arglist) (help-make-usage function arglist))
! ((stringp arglist) arglist)
! ((and doc (subrp def) (setq usage (help-split-fundoc doc def)))
! (setq doc (cdr usage)) (car usage))
! (t "[Missing arglist. Please make a bug report.]")))
! (terpri))
(let ((obsolete (and
;; function might be a lambda construct.
(symbolp function)
--
John Paul Wallington
next reply other threads:[~2002-08-05 23:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 23:05 John Paul Wallington [this message]
2002-08-06 14:58 ` C-h f facemenu-menu "missing arglist" query 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17bquq-00031L-00@bundalo.shootybangbang.com \
--to=jpw@shootybangbang.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).