aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-03-08 01:42:31 +0100
committerJoakim Verona2012-03-08 01:42:31 +0100
commit1de331c486475093aa6b75ef6c259f7164e7620c (patch)
tree01bc36430a02e16297b120147cf18c9f8c25f7b8
parent1e3a41b29b5bd263cde651d9f23517c8a29155dc (diff)
parent7a08ed357d4c747986457d3d1250335bb214a089 (diff)
downloademacs-1de331c486475093aa6b75ef6c259f7164e7620c.tar.gz
emacs-1de331c486475093aa6b75ef6c259f7164e7620c.zip
upstream+selection support
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/international/quail.el5
-rw-r--r--lisp/xwidget.el10
3 files changed, 22 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d8342df4da5..68b48f5047e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12012-03-07 Eli Zaretskii <eliz@gnu.org>
2
3 * international/quail.el (quail-help): Force
4 bidi-paragraph-direction be left-to-right. See discussion in
5 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6 for the reason.
7
12012-03-07 Michael Albinus <Michael.Albinus@alcatel-lucent.com> 82012-03-07 Michael Albinus <Michael.Albinus@alcatel-lucent.com>
2 9
3 Avoid superfluous registering of signals. (Bug#10807) 10 Avoid superfluous registering of signals. (Bug#10807)
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 1dd5e3551c7..48aa013c674 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -2485,6 +2485,11 @@ package to describe."
2485 ;; the width of the window in which the buffer displayed. 2485 ;; the width of the window in which the buffer displayed.
2486 (with-current-buffer (help-buffer) 2486 (with-current-buffer (help-buffer)
2487 (setq buffer-read-only nil) 2487 (setq buffer-read-only nil)
2488 ;; Without this, a keyboard layout with R2L characters might be
2489 ;; displayed reversed, right to left. See the thread starting at
2490 ;; http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2491 ;; for a description of one such situation.
2492 (setq bidi-paragraph-direction 'left-to-right)
2488 (insert "Input method: " (quail-name) 2493 (insert "Input method: " (quail-name)
2489 " (mode line indicator:" 2494 " (mode line indicator:"
2490 (quail-title) 2495 (quail-title)
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 4329382081c..78bef103d34 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -387,6 +387,16 @@ Argument H height."
387;; (declare-function xwidget-resize-internal "xwidget.c" ) 387;; (declare-function xwidget-resize-internal "xwidget.c" )
388;; check-declare-function? 388;; check-declare-function?
389 389
390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
391(defun xwidget-webkit-get-selection ()
392 (xwidget-webkit-execute-script-rv (xwidget-webkit-current-session)
393 "window.getSelection().toString();"))
394
395(defun xwidget-webkit-copy-selection-as-kill ()
396 (interactive)
397 (kill-new (xwidget-webkit-get-selection)))
398
399
390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
391;; xwidget plist management(similar to the process plist functions) 401;; xwidget plist management(similar to the process plist functions)
392 402