[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems binding keys
From: |
Sean Richards |
Subject: |
Re: Problems binding keys |
Date: |
Mon, 24 Nov 2003 11:58:08 +1300 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) |
Dan Anderson <dan@mathjunkies.com> writes:
> I'm trying to figure out how to bind some keys and place the LISP in
> my .emacs. I can't figure out how to use the "vectors" to represent
> keys. For instance, I think the following should work:
>
> (global-set-key "C-c f" font-lock-mode)
>
> But I just get a bunch of lisp errors.
>
> What am I doing wrong?
Try (global-set-key ("C-c f") 'font-lock-mode)
Note the ' in front of font-lock-mode.
Sean
--
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss.