From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Buttons for M-x customize-*
Date: Wed, 14 Dec 2005 14:17:18 +0100 [thread overview]
Message-ID: <v9ek4fyg0x.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <dnovep$1da$1@sea.gmane.org>
On Wed, Dec 14 2005, Ralf Angeli wrote:
> 2005-12-14 Ralf Angeli <angeli@iwi.uni-sb.de>
>
> * gnus-art.el (gnus-button-handle-custom): Do not just use
> `customize-apropos' for any "M-x customize-*" button but the
> function called for. Accept both the function name and its
> argument in order to achieve this.
> (gnus-button-alist): Remove support for "custom:" URL's. Pass
> function name to `gnus-button-handle-custom' in case of "M-x
> customize-*" buttons.
[...]
> +(defun gnus-button-handle-custom (fun arg)
> + "Call function FUN on argument ARG.
> +Both FUN and ARG are supposed to be strings. ARG will be passed
> +as a symbol to FUN."
> + (funcall (intern fun) (intern symbol)))
^^^^^^ You meant "arg" here, I think.
Applied. Thanks.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2005-12-14 13:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 18:55 Ralf Angeli
2005-12-12 22:30 ` Reiner Steib
2005-12-13 9:05 ` Ralf Angeli
2005-12-13 16:39 ` Simon Josefsson
2005-12-14 11:25 ` Ralf Angeli
2005-12-14 13:17 ` Reiner Steib [this message]
2005-12-14 13:37 ` Ralf Angeli
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=v9ek4fyg0x.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
/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.
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 NNTP newsgroup(s).