Joe Corneli <[EMAIL PROTECTED]> 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" "[EMAIL PROTECTED]") ;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)))) _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs