summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-07-19 05:05:19 +0000
committerRichard M. Stallman <rms@gnu.org>1992-07-19 05:05:19 +0000
commit051b82398a700177682f65333ff1d69deafdb686 (patch)
treef0cea990bc1b05ca0964b9a2e7419aa3aba470db /lisp/window.el
parentab4718c5556a94fe6234a4d7b8b5ab499995ea5d (diff)
downloademacs-051b82398a700177682f65333ff1d69deafdb686.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/lisp/window.el b/lisp/window.el
index e2a403dff58..9cd82d8b0d1 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -110,22 +110,8 @@ ARG columns. No arg means split equally."
(interactive "p")
(shrink-window arg t))
-(defun window-config-to-register (name)
- "Save the current window configuration in register REG (a letter).
-It can be later retrieved using \\[M-x register-to-window-config]."
- (interactive "cSave window configuration in register: ")
- (set-register name (current-window-configuration)))
-
-(defun register-to-window-config (name)
- "Restore (make current) the window configuration in register REG (a letter).
-Use with a register previously set with \\[window-config-to-register]."
- (interactive "cRestore window configuration from register: ")
- (set-window-configuration (get-register name)))
-
(define-key ctl-x-map "2" 'split-window-vertically)
(define-key ctl-x-map "3" 'split-window-horizontally)
-(define-key ctl-x-map "6" 'window-config-to-register)
-(define-key ctl-x-map "7" 'register-to-window-config)
(define-key ctl-x-map "}" 'enlarge-window-horizontally)
(define-key ctl-x-map "{" 'shrink-window-horizontally)