diff options
| author | Gerd Moellmann | 2000-08-08 12:18:17 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-08-08 12:18:17 +0000 |
| commit | f3ad2fc8d0206ad806d6dafffe7cb3b01d9729c4 (patch) | |
| tree | e76f4403754b2cb05555c442952e9925eff01cfa | |
| parent | 07ca56eb35f7d46b1a50cee59f8798528026b192 (diff) | |
| download | emacs-f3ad2fc8d0206ad806d6dafffe7cb3b01d9729c4.tar.gz emacs-f3ad2fc8d0206ad806d6dafffe7cb3b01d9729c4.zip | |
(print-help-return-message): When
display-buffer-reuse-frames is set, let the help window been quit,
instead of deleting it, which might delete a reused frame.
| -rw-r--r-- | lisp/help.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el index 2950ffd5929..67a8858473f 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -274,6 +274,10 @@ If FUNCTION is nil, applies `message' to it, thus printing it." | |||
| 274 | ;; Secondly, the buffer has not been displayed yet, | 274 | ;; Secondly, the buffer has not been displayed yet, |
| 275 | ;; so we don't know whether its frame will be selected. | 275 | ;; so we don't know whether its frame will be selected. |
| 276 | nil) | 276 | nil) |
| 277 | (display-buffer-reuse-frames | ||
| 278 | (setq help-return-method (cons (selected-window) | ||
| 279 | 'quit-window)) | ||
| 280 | nil) | ||
| 277 | ((not (one-window-p t)) | 281 | ((not (one-window-p t)) |
| 278 | (setq help-return-method | 282 | (setq help-return-method |
| 279 | (cons (selected-window) 'quit-window)) | 283 | (cons (selected-window) 'quit-window)) |