diff options
| author | Richard M. Stallman | 1994-08-30 00:47:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-30 00:47:36 +0000 |
| commit | 8fdae34aa3eb4dc9b0a45d765717bacc7a0e2cab (patch) | |
| tree | 8fb03e8710dd8392c678137f9e53f0f94ba3acf1 | |
| parent | 24c22852415ce86821b95db64fa70b4e84a4e383 (diff) | |
| download | emacs-8fdae34aa3eb4dc9b0a45d765717bacc7a0e2cab.tar.gz emacs-8fdae34aa3eb4dc9b0a45d765717bacc7a0e2cab.zip | |
(make-help-screen): Don't call window-frame in a non-multi-frame Emacs.
| -rw-r--r-- | lisp/help-macro.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el index 83e7b09b35c..55f63f25c5e 100644 --- a/lisp/help-macro.el +++ b/lisp/help-macro.el | |||
| @@ -114,10 +114,11 @@ and then returns." | |||
| 114 | (progn | 114 | (progn |
| 115 | (setq config (current-window-configuration)) | 115 | (setq config (current-window-configuration)) |
| 116 | (switch-to-buffer-other-window "*Help*") | 116 | (switch-to-buffer-other-window "*Help*") |
| 117 | (if (not (eq (window-frame (selected-window)) | 117 | (and (fboundp 'make-frame) |
| 118 | prev-frame)) | 118 | (not (eq (window-frame (selected-window)) |
| 119 | (setq new-frame (window-frame (selected-window)) | 119 | prev-frame)) |
| 120 | config nil)) | 120 | (setq new-frame (window-frame (selected-window)) |
| 121 | config nil)) | ||
| 121 | (erase-buffer) | 122 | (erase-buffer) |
| 122 | (insert help-screen) | 123 | (insert help-screen) |
| 123 | (goto-char (point-min)) | 124 | (goto-char (point-min)) |