comparison lisp/window.el @ 707:e4253da532fb

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Wed, 10 Jun 1992 02:47:07 +0000
parents 793483bd29fe
children 9c89fd7ddd41
comparison
equal deleted inserted replaced
706:86cb5db0b6c3 707:e4253da532fb
1 ;;; windows.el --- GNU Emacs window commands aside from those written in C. 1 ;;; windows.el --- GNU Emacs window commands aside from those written in C.
2 2 ;;; Copyright (C) 1985, 1989, 1992 Free Software Foundation, Inc.
3 ;; Copyright (C) 1985, 1989 Free Software Foundation, Inc.
4 3
5 ;; This file is part of GNU Emacs. 4 ;; This file is part of GNU Emacs.
6 5
7 ;; GNU Emacs is free software; you can redistribute it and/or modify 6 ;; GNU Emacs is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by 7 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation; either version 1, or (at your option) 8 ;; the Free Software Foundation; either version 2, or (at your option)
10 ;; any later version. 9 ;; any later version.
11 10
12 ;; GNU Emacs is distributed in the hope that it will be useful, 11 ;; GNU Emacs is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 12 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
117 Use with a register previously set with \\[window-config-to-register]." 116 Use with a register previously set with \\[window-config-to-register]."
118 (interactive "cRestore window configuration from register: ") 117 (interactive "cRestore window configuration from register: ")
119 (set-window-configuration (get-register name))) 118 (set-window-configuration (get-register name)))
120 119
121 (define-key ctl-x-map "2" 'split-window-vertically) 120 (define-key ctl-x-map "2" 'split-window-vertically)
122 (define-key ctl-x-map "5" 'split-window-horizontally) 121 (define-key ctl-x-map "3" 'split-window-horizontally)
123 (define-key ctl-x-map "6" 'window-config-to-register) 122 (define-key ctl-x-map "6" 'window-config-to-register)
124 (define-key ctl-x-map "7" 'register-to-window-config) 123 (define-key ctl-x-map "7" 'register-to-window-config)
125 (define-key ctl-x-map "}" 'enlarge-window-horizontally) 124 (define-key ctl-x-map "}" 'enlarge-window-horizontally)
126 (define-key ctl-x-map "{" 'shrink-window-horizontally) 125 (define-key ctl-x-map "{" 'shrink-window-horizontally)
127 126