]> code.delx.au - gnu-emacs/blobdiff - lisp/xt-mouse.el
Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace
[gnu-emacs] / lisp / xt-mouse.el
index b6738b21cb09bfdc04afb116152b53bd77a45c59..a2b64019f97ccbe8bd98c066b066dfec642ed47d 100644 (file)
@@ -138,6 +138,7 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
   "Non-nil if UTF-8 coordinates should be used to read mouse coordinates.
 Set this to non-nil if you are sure that your terminal
 understands UTF-8 coordinates, but not SGR coordinates."
+  :version "25.1"
   :type 'boolean
   :risky t
   :group 'xterm)
@@ -154,10 +155,7 @@ single byte."
           (set-keyboard-coding-system
            (if (terminal-parameter nil 'xterm-mouse-utf-8)
                'utf-8-unix
-             ;; Use Latin-1 instead of no-conversion to avoid flicker
-             ;; due to `set-keyboard-coding-system' changing the meta
-             ;; mode.
-             'latin-1))
+             'no-conversion))
           ;; Wait only a little; we assume that the entire escape sequence
           ;; has already been sent when this function is called.
           (read-char nil nil 0.1))