[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global key not binding
From: |
Baloff |
Subject: |
Re: global key not binding |
Date: |
11 Aug 2005 05:12:19 +1000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Joe Corneli <jcorneli@math.utexas.edu> writes:
> Hello
>
> (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c b
> (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c p
>
> I get symbol function definition is void ...
>
> That is to be expected.
>
why then this work:
(Global-set-key "\C-cl" "\C-a\C-@\C-e\M-w") ;copy ling C-c l
> ,----
> | global-set-key is an interactive compiled Lisp function in `subr'.
> | (global-set-key key command)
> |
> | Give key a global binding as command.
> `----
>
> Try
>
> (global-set-key "\C-cb" (lambda ()
> (interactive)
> (copy-region-as-kill (point-min)
> (point-max))))
Re: global key not binding, Kevin Rodgers, 2005/08/10
Message not available