summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2016-03-25 13:17:38 +0300
committerEli Zaretskii <eliz@gnu.org>2016-03-25 13:17:38 +0300
commit90fb9b38dd4a386a71cdf7c3bf6b42292db43c42 (patch)
tree4ebbe0a89215012e8519b5ec580a014d293ac920 /lisp/emacs-lisp
parentf14d463661f46f614125f88b56d73106fab9ece6 (diff)
downloademacs-90fb9b38dd4a386a71cdf7c3bf6b42292db43c42.tar.gz
emacs-90fb9b38dd4a386a71cdf7c3bf6b42292db43c42.tar.bz2
emacs-90fb9b38dd4a386a71cdf7c3bf6b42292db43c42.zip
Add customization option for using UTF-8 coordinates in xt-mouse
* lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option. (xterm-mouse--read-coordinate): New function to replace `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled. (xterm-mouse--read-number-from-terminal): Adapt to new name. (xterm-mouse-tracking-enable-sequence) (xterm-mouse-tracking-disable-sequence): Replace constants with functions, mark constants as obsolete. (xterm-mouse--tracking-sequence): New helper function. (turn-on-xterm-mouse-tracking-on-terminal): Use new functions; enable UTF-8 only if customization option says so; store UTF-8 flag in terminal parameter. (Bug#23009) * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions