all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to bind a function with argument?
Date: Fri, 17 Dec 2010 17:52:55 -0800 (PST)	[thread overview]
Message-ID: <b6e36816-e9f8-4307-b109-182be38e7910@fo10g2000vbb.googlegroups.com> (raw)
In-Reply-To: b0bd5b04-b749-4e10-b62f-5e8487ae0413@p8g2000vbs.googlegroups.com

hmm this seems to work for me:

(global-set-key [(super f)]
		'(lambda () (interactive) (org-insert-link (quote (4)))))


  parent reply	other threads:[~2010-12-18  1:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18  0:35 How to bind a function with argument? Rafael
2010-12-18  1:31 ` LanX
2010-12-18  1:43   ` Rafael
2010-12-18  1:52   ` LanX [this message]
2010-12-18  1:49 ` Pascal J. Bourguignon
2010-12-18  2:00   ` LanX
2010-12-18  2:03   ` Rafael

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=b6e36816-e9f8-4307-b109-182be38e7910@fo10g2000vbb.googlegroups.com \
    --to=lanx.perl@googlemail.com \
    --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.
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.