Commit c2a00883 authored by Chong Yidong's avatar Chong Yidong
Browse files

(xterm-remove-modify-other-keys): Fix error in terminal variable

parent 70b52829
......@@ -642,7 +642,7 @@ versions of xterm."
(defun xterm-remove-modify-other-keys (&optional terminal)
"Turn off the modifyOtherKeys feature of xterm for good."
(setq terminal (and terminal (frame-terminal (selected-frame))))
(setq terminal (or terminal (frame-terminal (selected-frame))))
(when (and (terminal-live-p terminal)
(memq terminal xterm-modify-other-keys-terminal-list))
(setq xterm-modify-other-keys-terminal-list
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment