Mercurial > emacs
changeset 42321:dc54396f2b69
(vt-wide, vt-narrow): Use set-frame-width instead of obsolete
set-screen-width.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Tue, 25 Dec 2001 11:11:32 +0000 |
parents | 44b4a14ae7fc |
children | f22bac736420 |
files | lisp/vt-control.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vt-control.el Tue Dec 25 11:10:03 2001 +0000 +++ b/lisp/vt-control.el Tue Dec 25 11:11:32 2001 +0000 @@ -66,14 +66,14 @@ "Set the screen 132 characters wide." (interactive) (send-string-to-terminal "\e[?3h") - (set-screen-width 132) + (set-frame-width (selected-frame) 132) (setq vt-wide-p t)) (defun vt-narrow nil "Set the screen 80 characters wide." (interactive) (send-string-to-terminal "\e[?3l") - (set-screen-width 80) + (set-frame-width (selected-frame) 80) (setq vt-wide-p nil)) (defun vt-toggle-screen nil