From c2a008832d8c605ad1d80e04336132351aa36324 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 10 Dec 2008 15:02:42 +0000 Subject: [PATCH] (xterm-remove-modify-other-keys): Fix error in terminal variable assignment. --- lisp/term/xterm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index e893f88da50..aaa935e43cc 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -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 -- 2.39.2