view lisp/term/vt200.el @ 2529:bb127c1081af

(shrink-window-if-larger-than-buffer): Moved from electric.el to windows.el, minor bug fix. This is to avoid code duplication between vc.el, electric.el, and finder.el. (ctl-x-map): Added C-x - and C-x + as bindings for shrink-window-if-larger-than-buffer and balance-windows respectively. Since shrink-window-if-larger-than-buffer has to live here anyhow, let users use it to manage screen space.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Wed, 14 Apr 1993 03:34:44 +0000
parents c2dbf1fe0506
children e010fc52b552
line wrap: on
line source

(defun terminal-80-columns ()
  (interactive)
  (send-string-to-terminal "\033[?3l")
  (set-frame-width 80))

(defun terminal-132-columns ()
  (interactive)
  (send-string-to-terminal "\033[?3h")
  (set-frame-width 132))