diff options
| author | Stefan Monnier | 2014-10-01 18:13:11 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-10-01 18:13:11 -0400 |
| commit | a8b36b953e3dc4d50dbfe430d5c579f7b1fd71e7 (patch) | |
| tree | cfbea5b3f0c9514911375ef68a290c193730bf22 /etc | |
| parent | c59ef5ef53f8e33a693f1107c1d61535bbd3a187 (diff) | |
| download | emacs-a8b36b953e3dc4d50dbfe430d5c579f7b1fd71e7.tar.gz emacs-a8b36b953e3dc4d50dbfe430d5c579f7b1fd71e7.zip | |
Consolidate x-select-text.
* 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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -49,6 +49,9 @@ Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. | |||
| 49 | 49 | ||
| 50 | * Changes in Emacs 25.1 | 50 | * Changes in Emacs 25.1 |
| 51 | 51 | ||
| 52 | ** x-select-enable-clipboard is renamed gui-select-enable-clipboard. | ||
| 53 | Additionally it now also applies to OSX and GNUstep. | ||
| 54 | |||
| 52 | ** `insert-register' now leaves point after the inserted text | 55 | ** `insert-register' now leaves point after the inserted text |
| 53 | when called interactively. A prefix argument toggles this behavior. | 56 | when called interactively. A prefix argument toggles this behavior. |
| 54 | 57 | ||
| @@ -242,7 +245,9 @@ Emacs-21. | |||
| 242 | 245 | ||
| 243 | * Lisp Changes in Emacs 25.1 | 246 | * Lisp Changes in Emacs 25.1 |
| 244 | 247 | ||
| 245 | *** call-process-shell-command and process-file-shell-command | 248 | ** x-select-text is renamed gui-select-text. |
| 249 | |||
| 250 | ** call-process-shell-command and process-file-shell-command | ||
| 246 | don't take "&rest args" any more. | 251 | don't take "&rest args" any more. |
| 247 | 252 | ||
| 248 | ** New function `alist-get', which is also a valid place (aka lvalue). | 253 | ** New function `alist-get', which is also a valid place (aka lvalue). |