Mercurial > emacs
changeset 100320:e11ed8333674
(xterm-remove-modify-other-keys): Fix error in terminal variable
assignment.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 10 Dec 2008 15:02:42 +0000 |
parents | 371187872b5a |
children | ebafebeca927 |
files | lisp/term/xterm.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/xterm.el Wed Dec 10 15:02:31 2008 +0000 +++ b/lisp/term/xterm.el Wed Dec 10 15:02:42 2008 +0000 @@ -642,7 +642,7 @@ (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