From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Matt Price <moptop99@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: quick syntax problem
Date: Mon, 19 Apr 2010 21:28:18 +0200 [thread overview]
Message-ID: <FB3C836E-1CA3-49A5-A84B-0A9C241B49DA@Web.DE> (raw)
In-Reply-To: <t2kf22f52181004190739p739b8dd2p538a6129a0488edb@mail.gmail.com>
Am 19.04.2010 um 16:39 schrieb Matt Price:
> i don't quite understand what's wrong with this:
> (global-set-key "\C-c\M-0" '(write-abbrev-file "~/.emacs.d/
> abbrev_defs"))
You are not allowed to bind a key sequence to some Lisp statement...
Either create a function with fset and bind this one to your key or
start your Lisp statement with
(lambda () (interactive) (...))
--
Greetings
Pete
"Evolution" o __o _o _
°\___o /0~ -\<, ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____
prev parent reply other threads:[~2010-04-19 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 14:39 quick syntax problem Matt Price
2010-04-19 19:28 ` Peter Dyballa [this message]
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=FB3C836E-1CA3-49A5-A84B-0A9C241B49DA@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=moptop99@gmail.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.
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).