[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global key not binding
From: |
Joe Corneli |
Subject: |
Re: global key not binding |
Date: |
Wed, 10 Aug 2005 08:41:43 -0500 |
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.
,----
| 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