]> code.delx.au - gnu-emacs/blobdiff - lisp/vt-control.el
(clone-process): Copy process' plist to new process.
[gnu-emacs] / lisp / vt-control.el
index 23ccb957988c8fad53606da120b709d861c63353..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
   (if vt-applications-keypad-p (vt-keypad-off (interactive-p))
     (vt-keypad-on (interactive-p))))
 
+(provide 'vt-control)
+
 ;;; vt-control.el ends here