From: Pavel Janík Date: Tue, 25 Dec 2001 11:16:02 +0000 (+0000) Subject: (vt-wide, vt-narrow): Use set-frame-width instead of obsolete X-Git-Tag: ttn-vms-21-2-B4~17485 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cb48ea3ff0f4aab56ba879fa33ec89e8e70d210;p=emacs.git (vt-wide, vt-narrow): Use set-frame-width instead of obsolete set-screen-width. --- 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