• Chong Yidong's avatar
    Move clipboard-manager functionality out of hooks. · 1dd3c2d9
    Chong Yidong authored
    * 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.
    1dd3c2d9
xselect.c 84.4 KB