[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quick syntax problem
From: |
Peter Dyballa |
Subject: |
Re: quick syntax problem |
Date: |
Mon, 19 Apr 2010 21:28:18 +0200 |
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____