diff options
| author | Karl Heuer | 1995-05-30 18:39:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-30 18:39:33 +0000 |
| commit | 4809d0dd988ea98407e03e407fd4fd249e7f5bd8 (patch) | |
| tree | 24fd837c55fd52b2bd8c46d3f6155823c2078e6e | |
| parent | 46be8793650611f8f3dbf1d28a01cd77895c2cc0 (diff) | |
| download | emacs-4809d0dd988ea98407e03e407fd4fd249e7f5bd8.tar.gz emacs-4809d0dd988ea98407e03e407fd4fd249e7f5bd8.zip | |
(frame-configuration-p): Moved here from frame.el.
| -rw-r--r-- | lisp/subr.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index f3ab57a4955..93165de8c00 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -931,6 +931,15 @@ KEY is a string representing a sequence of keystrokes." | |||
| 931 | (local-set-key key nil)) | 931 | (local-set-key key nil)) |
| 932 | nil) | 932 | nil) |
| 933 | 933 | ||
| 934 | ;; We put this here instead of in frame.el so that it's defined even on | ||
| 935 | ;; systems where frame.el isn't loaded. | ||
| 936 | (defun frame-configuration-p (object) | ||
| 937 | "Return non-nil if OBJECT seems to be a frame configuration. | ||
| 938 | Any list whose car is `frame-configuration' is assumed to be a frame | ||
| 939 | configuration." | ||
| 940 | (and (consp object) | ||
| 941 | (eq (car object) 'frame-configuration))) | ||
| 942 | |||
| 934 | ;; now in fns.c | 943 | ;; now in fns.c |
| 935 | ;(defun nth (n list) | 944 | ;(defun nth (n list) |
| 936 | ; "Returns the Nth element of LIST. | 945 | ; "Returns the Nth element of LIST. |