diff options
| author | Glenn Morris | 2013-09-17 21:46:44 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-17 21:46:44 -0700 |
| commit | 45069b2e00c0b067da7a3ae730f9a3b0694a5826 (patch) | |
| tree | 00ba33e93324193a007cfa6b124f06b78048b7af | |
| parent | cd8edbbe673d636e262fa499cfee913b640d2e1c (diff) | |
| download | emacs-45069b2e00c0b067da7a3ae730f9a3b0694a5826.tar.gz emacs-45069b2e00c0b067da7a3ae730f9a3b0694a5826.zip | |
* term.el (term-mouse-paste): Reorder to silence --without-x compilation.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/term.el | 17 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ddc5425435..fd6d8f0a547 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | Remove --without-x warning/error. | 6 | Remove --without-x warning/error. |
| 7 | 7 | ||
| 8 | * mouse.el (mouse-yank-primary): | 8 | * mouse.el (mouse-yank-primary): |
| 9 | * term.el (term-mouse-paste): | ||
| 9 | Reorder to silence --without-x compilation. | 10 | Reorder to silence --without-x compilation. |
| 10 | 11 | ||
| 11 | * mpc.el (doc-view-mode): Silence --without-x compilation. | 12 | * mpc.el (doc-view-mode): Silence --without-x compilation. |
diff --git a/lisp/term.el b/lisp/term.el index be080297b2e..d9ba848e8be 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -1252,15 +1252,14 @@ without any interpretation." | |||
| 1252 | (setq this-command 'yank) | 1252 | (setq this-command 'yank) |
| 1253 | (mouse-set-point click) | 1253 | (mouse-set-point click) |
| 1254 | (term-send-raw-string | 1254 | (term-send-raw-string |
| 1255 | (or (cond ; From `mouse-yank-primary': | 1255 | ;; From `mouse-yank-primary': |
| 1256 | ((eq system-type 'windows-nt) | 1256 | (or (if (fboundp 'x-get-selection-value) |
| 1257 | (or (x-get-selection 'PRIMARY) | 1257 | (if (eq system-type 'windows-nt) |
| 1258 | (x-get-selection-value))) | 1258 | (or (x-get-selection 'PRIMARY) |
| 1259 | ((fboundp 'x-get-selection-value) | 1259 | (x-get-selection-value)) |
| 1260 | (or (x-get-selection-value) | 1260 | (or (x-get-selection-value) |
| 1261 | (x-get-selection 'PRIMARY))) | 1261 | (x-get-selection 'PRIMARY))) |
| 1262 | (t | 1262 | (x-get-selection 'PRIMARY)) |
| 1263 | (x-get-selection 'PRIMARY))) | ||
| 1264 | (error "No selection is available"))))) | 1263 | (error "No selection is available"))))) |
| 1265 | 1264 | ||
| 1266 | (defun term-paste () | 1265 | (defun term-paste () |