]> git.eshelyaron.com Git - emacs.git/commit
Move clipboard-manager functionality out of hooks.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 00:45:00 +0000 (20:45 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 00:45:00 +0000 (20:45 -0400)
commit1dd3c2d9b2466eb6dc379da6a67074dbd4c13fa5
treea812814e376414db37827f4298e375ff868ecdaf
parent8e6ca83dfede41bbc8d060a4aaa72f2a414f59ae
Move clipboard-manager functionality out of hooks.

* lisp/select.el: Don't perform clipboard-manager saving in hooks;
leave the hooks empty.

* src/emacs.c (Fkill_emacs): Call x_clipboard_manager_save_all.
* src/frame.c (delete_frame): Call x_clipboard_manager_save_frame.

* src/xselect.c (x_clipboard_manager_save_frame)
(x_clipboard_manager_save_all): New functions.
(Fx_clipboard_manager_save): Lisp function deleted.

* src/xterm.h: Update prototype.
etc/NEWS
lisp/ChangeLog
lisp/select.el
src/ChangeLog
src/emacs.c
src/frame.c
src/xselect.c
src/xterm.h