summaryrefslogtreecommitdiff
path: root/lisp/register.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-11 16:30:40 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-11 16:30:40 +0000
commite5c20c1c5754facec286df5c55703184f7fdbda7 (patch)
treef8c75b69f697e5ae3267aab7eb4ffe4f6d724741 /lisp/register.el
parent07c297a19d9c6afc0526f237762b65c40bc48b48 (diff)
downloademacs-e5c20c1c5754facec286df5c55703184f7fdbda7.tar.gz
(view-register): Handle file name values.
Diffstat (limited to 'lisp/register.el')
-rw-r--r--lisp/register.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/register.el b/lisp/register.el
index bae40ee165c..91ef6c40423 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -1,6 +1,6 @@
;;; register.el --- register commands for Emacs.
-;; Copyright (C) 1985 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1993 Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: internal
@@ -152,6 +152,11 @@ REGISTER is a character."
((frame-configuration-p val)
(princ "a frame configuration."))
+ ((and (consp val) (eq (car val) 'file))
+ (princ "the file ")
+ (prin1 (cdr val))
+ (princ "."))
+
((consp val)
(princ "the rectangle:\n")
(while val