]> git.eshelyaron.com Git - emacs.git/commit
Use CLIPBOARD and PRIMARY on NS (Bug#6677).
authorJan D <jan.h.d@swipnet.se>
Wed, 18 Aug 2010 06:16:55 +0000 (08:16 +0200)
committerJan D <jan.h.d@swipnet.se>
Wed, 18 Aug 2010 06:16:55 +0000 (08:16 +0200)
commit64cb6c788376c364c8e27e99c97921ad3a308963
treea666e67f0f4c102d4958d2dd334a8923cf516892
parent0ac3effe23aeedd0474d640365968211b0097692
Use CLIPBOARD and PRIMARY on NS (Bug#6677).

* lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard): Use
QCLIPBOARD instead of QPRIMARY (Bug#6677).

* src/nsselect.m (QCLIPBOARD, NXPrimaryPboard): Define.
(symbol_to_nsstring): Map QCLIPBOARD => NSGeneralPboard,
QPRIMARY => NXPrimaryPboard.
(ns_string_to_symbol): NSGeneralPboard => QCLIPBOARD,
NXPrimaryPboard => QPRIMARY.
(nxatoms_of_nsselect): NXPrimaryPboard = PrimarySelection,
NXSecondaryPboard = SecondarySelection.
(syms_of_nsselect): Intern QCLIPBOARD (Bug#6677).
lisp/ChangeLog
lisp/term/ns-win.el
src/ChangeLog
src/nsselect.m