• Stefan Monnier's avatar
    Consolidate x-select-text. · a8b36b95
    Stefan Monnier authored
    * lisp/frame.el (gui-method, gui-method-define, gui-method-declare)
    (gui-call): New macros.
    (gui-method--name): New function.
    (frame-creation-function-alist): Use gui-method-declare.
    (make-frame): Use gui-method.
    * lisp/select.el (gui-select-enable-clipboard): Rename from
    x-select-enable-clipboard and move here.
    (x-select-enable-clipboard): Define as obsolete alias.
    (gui-last-selected-text): New var, to replace x-last-selected-text.
    (gui-select-text): New GUI method.
    (gui-select-text): New function.
    (x-select-text): Define as obsolete alias.
    * lisp/term/common-win.el (x-select-enable-clipboard, x-select-text):
    Move to select.el.
    * lisp/simple.el (interprogram-cut-function): Change default to
    x-select-text.
    (interprogram-paste-function): Change default to `ignore'.
    * lisp/w32-common-fns.el (interprogram-cut-function): Don't modify.
    * lisp/term/x-win.el (interprogram-cut-function): Don't modify.
    (gui-select-text): Add method for x.
    * lisp/term/w32-win.el (gui-select-text): Add method for w32.
    * lisp/term/pc-win.el (x-last-selected-text): Remove, use
    gui-last-selected-text instead.
    (msdos-initialize-window-system): Don't set interprogram-cut-function.
    (gui-select-text): Add method for pc.
    * lisp/term/ns-win.el (ns-last-selected-text): Remove, use
    gui-last-selected-text instead.
    (gui-select-text): Add method for ns.
    (x-setup-function-keys): Don't change interprogram-cut-function.
    * lisp/loadup.el ("startup"): Load after "frame".
    * lisp/subr.el (package--builtin-versions, package--description-file):
    Move from startup.el.
    * lisp/startup.el (package--builtin-versions, package--description-file):
    Move to subr.el.
    (handle-args-function-alist, window-system-initialization-alist):
    Use gui-method-declare.
    (command-line): Use gui-method.
    * src/xselect.c (selection-converter-alist): Fix docstring.
    a8b36b95
Name
Last commit
Last update
admin Loading commit data...
build-aux Loading commit data...
doc Loading commit data...
etc Loading commit data...
leim Loading commit data...
lib Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
lwlib Loading commit data...
m4 Loading commit data...
msdos Loading commit data...
nextstep Loading commit data...
nt Loading commit data...
oldXMenu Loading commit data...
src Loading commit data...
test Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
BUGS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
GNUmakefile Loading commit data...
INSTALL Loading commit data...
INSTALL.REPO Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.bat Loading commit data...
configure.ac Loading commit data...
make-dist Loading commit data...