diff options
author | Glenn Morris <rgm@gnu.org> | 2011-06-12 12:56:41 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-06-12 12:56:41 -0700 |
commit | 9db51acaf1991e638e07fc6a624265d4d64b74ae (patch) | |
tree | 57eb9187257bd085ed839c1bf868edb6b445e3bb /lisp/term | |
parent | ea3596a2f31dff4d614451a13bcafcad60e39365 (diff) | |
download | emacs-9db51acaf1991e638e07fc6a624265d4d64b74ae.tar.gz |
* term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
Diffstat (limited to 'lisp/term')
-rw-r--r-- | lisp/term/xterm.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index c2b870bd535..e345b4dda8f 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -539,6 +539,7 @@ features. Set to nil to skip the checks." ;; versions do too...) (when (or (memq 'reportBackground given-capabilities) (and (memq 'reportBackground tocheck-capabilities) + version (>= version 242))) (send-string-to-terminal "\e]11;?\e\\") (when (equal (read-event nil nil 2) ?\e) @@ -559,6 +560,7 @@ features. Set to nil to skip the checks." ;; support. (when (or (memq 'modifyOtherKeys given-capabilities) (and (memq 'modifyOtherKeys tocheck-capabilities) + version (>= version 216))) (terminal-init-xterm-modify-other-keys)) |