1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

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

assignment.
This commit is contained in:
Chong Yidong 2008-12-10 15:02:42 +00:00
parent 70b5282983
commit c2a008832d

View File

@ -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