help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs (in terminal): keeping clipboard synchronized with the system


From: Nikolaj Schumacher
Subject: Re: Emacs (in terminal): keeping clipboard synchronized with the system global one?
Date: Fri, 06 Mar 2009 13:55:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin)

Hugo Heden <hugoheden@gmail.com> wrote:

>  (global-set-key "\M-w" 'copy-to-x-clipboard)
>
> Now, I would like to refine this so that M-w is bound to
> "copy-to-x-clipboard" whenever emacs is run within a terminal

(unless (window-system)
  (global-set-key "\M-w" 'copy-to-x-clipboard))

regards,
Nikolaj Schumacher




reply via email to

[Prev in Thread] Current Thread [Next in Thread]