From 2cb48ea3ff0f4aab56ba879fa33ec89e8e70d210 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Tue, 25 Dec 2001 11:16:02 +0000 Subject: [PATCH] (vt-wide, vt-narrow): Use set-frame-width instead of obsolete set-screen-width. --- lisp/ChangeLog | 3 +++ lisp/vt-control.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1697f1a200d..3b777790ceb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2001-12-25 Pavel Jan,Bm(Bk + * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead + of obsolete set-screen-width. + * locate.el (locate): Remove dot at the end of error argument. * emerge.el (emerge-show-file-name): Use frame-height instead of diff --git a/lisp/vt-control.el b/lisp/vt-control.el index 24028528811..0ffc2757046 100644 --- a/lisp/vt-control.el +++ b/lisp/vt-control.el @@ -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 -- 2.39.5