[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print key
From: |
Kevin Rodgers |
Subject: |
Re: Print key |
Date: |
Wed, 16 Jun 2004 10:23:57 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
John Robot wrote:
> How is it possible to map the "Print Screen" key of a keyboard
> (under Emacs 21.3, on Win XP) to the print function?
>
> I've tried "everything", but with no success...
>
> (global-set-key [(print)] 'ps-print-buffer-with-faces)
`C-h v' followed by the Print Screen key on GNU Emacs 21.3.1
(i386-pc-solaris2.7, X toolkit) says "<print> is undefined". So you
should use (kbd "<print>") instead of [(print)].
--
Kevin Rodgers