summaryrefslogtreecommitdiff
path: root/lisp/register.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-24 22:12:29 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-24 22:12:29 +0000
commit14cc57a196bdf23a2f4e2cb5956bbb574176bb51 (patch)
treeebdc427bda2bd3781932c89222912024f6968b7c /lisp/register.el
parentee29e0778c835fbbe1c7a670542824c6cace7c4c (diff)
downloademacs-14cc57a196bdf23a2f4e2cb5956bbb574176bb51.tar.gz
(jump-to-register): Don't fail if frame-configuration-p is unbound.
Diffstat (limited to 'lisp/register.el')
-rw-r--r--lisp/register.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/register.el b/lisp/register.el
index 114f25fa8fd..bae40ee165c 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -84,7 +84,8 @@ Argument is a character, naming the register."
(interactive "cJump to register: ")
(let ((val (get-register char)))
(cond
- ((frame-configuration-p val)
+ ((and (fboundp 'frame-configuration-p)
+ (frame-configuration-p val))
(set-frame-configuration val))
((window-configuration-p val)
(set-window-configuration val))