diff options
| -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. |