summaryrefslogtreecommitdiff
path: root/lisp/register.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-07-15 03:24:58 +0000
committerJim Blandy <jimb@redhat.com>1992-07-15 03:24:58 +0000
commit2f68343dd476639db9c0817a0f63bb3ae0a0c4de (patch)
treee3f1e113fbf64d3e5e0dc7ffb02a385b3999229f /lisp/register.el
parent4310192488cb557b06c40053c09e49922e3afaa7 (diff)
downloademacs-2f68343dd476639db9c0817a0f63bb3ae0a0c4de.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/register.el')
-rw-r--r--lisp/register.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/register.el b/lisp/register.el
index a78a046a56a..abf5d97d656 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -22,7 +22,7 @@
(defvar register-alist nil
"Alist of elements (NAME . CONTENTS), one for each Emacs register.
NAME is a character (a number). CONTENTS is a string, number,
-screen configuration, mark or list.
+frame configuration, mark or list.
A list represents a rectangle; its elements are strings.")
(defun get-register (char)
@@ -40,11 +40,11 @@ A list represents a rectangle; its elements are strings.")
(defun point-to-register (char arg)
"Store current location of point in register REGISTER.
-With prefix argument, store current screen configuration.
+With prefix argument, store current frame configuration.
Use \\[jump-to-register] to go to that location or restore that configuration.
Argument is a character, naming the register."
(interactive "cPoint to register: \nP")
- (set-register char (if arg (current-screen-configuration) (point-marker))))
+ (set-register char (if arg (current-frame-configuration) (point-marker))))
(fset 'register-to-point 'jump-to-register)
(defun jump-to-register (char)
@@ -53,13 +53,13 @@ Argument is a character, naming the register."
(interactive "cJump to register: ")
(let ((val (get-register char)))
(condition-case ()
- (set-screen-configuration val)
+ (set-frame-configuration val)
(error
(if (markerp val)
(progn
(switch-to-buffer (marker-buffer val))
(goto-char val))
- (error "Register doesn't contain a buffer position or screen configuration"))))))
+ (error "Register doesn't contain a buffer position or frame configuration"))))))
;(defun number-to-register (arg char)
; "Store a number in a register.