aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-29 04:40:38 +0000
committerRichard M. Stallman1993-05-29 04:40:38 +0000
commit83317c079a1d06bbfd4d0005db9dc30febc82e10 (patch)
tree55dc552202815419aef0f09d0c662b730715a639
parent14e6867cdf4aca6b99c5c431122d86c583317d8c (diff)
downloademacs-83317c079a1d06bbfd4d0005db9dc30febc82e10.tar.gz
emacs-83317c079a1d06bbfd4d0005db9dc30febc82e10.zip
(vt100-wide-mode): Add missing arg in set-frame-width.
-rw-r--r--lisp/term/vt100.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el
index 5c723f433f5..7e56df97b64 100644
--- a/lisp/term/vt100.el
+++ b/lisp/term/vt100.el
@@ -90,12 +90,14 @@
90 "t if vt100 is in 132-column mode.") 90 "t if vt100 is in 132-column mode.")
91 91
92(defun vt100-wide-mode (&optional arg) 92(defun vt100-wide-mode (&optional arg)
93 "Toggle 132/80 column mode for vt100s." 93 "Toggle 132/80 column mode for vt100s.
94With positive argument, switch to 132-column mode.
95With negative argument, switch to 80-column mode."
94 (interactive "P") 96 (interactive "P")
95 (setq vt100-wide-mode 97 (setq vt100-wide-mode
96 (if (null arg) (not vt100-wide-mode) 98 (if (null arg) (not vt100-wide-mode)
97 (> (prefix-numeric-value arg) 0))) 99 (> (prefix-numeric-value arg) 0)))
98 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l")) 100 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l"))
99 (set-frame-width (if vt100-wide-mode 132 80))) 101 (set-frame-width terminal-frame (if vt100-wide-mode 132 80)))
100 102
101;;; vt100.el ends here 103;;; vt100.el ends here