From: John Withers <grayarea@reddagger.org>
To: help-gnu-emacs@gnu.org
Subject: binding a key to a function with an argument
Date: Wed, 22 Jul 2009 09:13:41 -0700 [thread overview]
Message-ID: <1248279221.8457.46.camel@firefly> (raw)
Folks,
I am trying to change C-x C-s save-buffer to save-some-buffers with the
non-nil argument so that it will save all without questions.
I have no problem with the bind of the save-some-buffers:
(global-set-key (kbd "C-x C-s") 'save--some-buffers)
but I can't figure out how to pass the non-nil argument. I have tried a
few different ways and they all throw errors.
Any help would be appreciated.
-john
next reply other threads:[~2009-07-22 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 16:13 John Withers [this message]
2009-07-23 5:54 ` binding a key to a function with an argument Wang Lei
2009-07-23 10:43 ` Bernardo
[not found] <mailman.2993.1248320862.2239.help-gnu-emacs@gnu.org>
2009-07-23 5:42 ` Teemu Likonen
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=1248279221.8457.46.camel@firefly \
--to=grayarea@reddagger.org \
--cc=help-gnu-emacs@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.
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).