]> git.eshelyaron.com Git - emacs.git/commitdiff
(vt-wide, vt-narrow): Use set-frame-width instead of obsolete
authorPavel Janík <Pavel@Janik.cz>
Tue, 25 Dec 2001 11:16:02 +0000 (11:16 +0000)
committerPavel Janík <Pavel@Janik.cz>
Tue, 25 Dec 2001 11:16:02 +0000 (11:16 +0000)
set-screen-width.

lisp/ChangeLog
lisp/vt-control.el

index 1697f1a200d1e5ccc98c7e34f35c5e237e7fdb68..3b777790ceb0d94bd0b8752194d5d49cefb96fb0 100644 (file)
@@ -1,5 +1,8 @@
 2001-12-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
+       * 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
index 2402852881109838dc61c7d5dc9b1c2532df8141..0ffc27570466216f799b8cd7601dd54c8037e1bd 100644 (file)
   "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