[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/term/xterm.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/term/xterm.el,v |
Date: |
Tue, 30 Sep 2008 21:59:30 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/09/30 21:59:29
Index: term/xterm.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/term/xterm.el,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- term/xterm.el 6 May 2008 04:34:22 -0000 1.58
+++ term/xterm.el 30 Sep 2008 21:59:29 -0000 1.59
@@ -624,27 +624,27 @@
(clear-face-cache)))
(defun xterm-turn-on-modify-other-keys ()
- "Turn on the modifyOtherKeys feature of xterm."
+ "Turn the modifyOtherKeys feature of xterm back on."
(let ((terminal (frame-terminal (selected-frame))))
(when (and (terminal-live-p terminal)
(memq terminal xterm-modify-other-keys-terminal-list))
- (send-string-to-terminal "\e[>4;1m"))))
+ (send-string-to-terminal "\e[>4;1m" terminal))))
(defun xterm-turn-off-modify-other-keys (&optional frame)
- "Turn off the modifyOtherKeys feature of xterm."
+ "Temporarily turn off the modifyOtherKeys feature of xterm."
(let ((terminal (when frame (frame-terminal frame))))
- (when (and (frame-live-p terminal)
+ (when (and (terminal-live-p terminal)
(memq terminal xterm-modify-other-keys-terminal-list))
- (send-string-to-terminal "\e[>4m"))))
+ (send-string-to-terminal "\e[>4m" terminal))))
(defun xterm-remove-modify-other-keys (&optional terminal)
- "Turn off the modifyOtherKeys feature of xterm and remove frame from
consideration."
+ "Turn off the modifyOtherKeys feature of xterm for good."
(setq terminal (and 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
(delq terminal xterm-modify-other-keys-terminal-list))
- (send-string-to-terminal "\e[>4m")))
+ (send-string-to-terminal "\e[>4m" terminal)))
;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a
;;; xterm.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/term/xterm.el,v,
Stefan Monnier <=