emacs-devel
[Top][All Lists]
Advanced

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

Set interprogram-cut-function to frame-local


From: Leo
Subject: Set interprogram-cut-function to frame-local
Date: Sat, 16 Feb 2008 02:22:43 +0000
User-agent: Gnus/5.130000 Emacs/23.0.60 (20080211) Fedora 8 (gnu/linux)

Hi All,

How could I set interprogram-cut-function or interprogram-paste-function
to be a frame-local variable?

I followed the docs of make-variable-frame-local as follows:

--8<---------------cut here---------------start------------->8---
  (modify-frame-parameters
   nil
   '((interprogram-cut-function . xclip-select-text)
     (interprogram-paste-function . xclip-selection-value)))
--8<---------------cut here---------------end--------------->8---

It doesn't seem to make any difference. i.e. C-h v on
interprogram-cut-function still returns nil.

Any ideas?

Best,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

          Use the best OS -- http://www.fedoraproject.org/





reply via email to

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