diff options
| author | Stefan Monnier | 2021-04-12 12:32:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2021-04-12 12:32:58 -0400 |
| commit | 9a6523dfd68a17ebf7049d2aae3fd02386d7cb04 (patch) | |
| tree | b042b7727c523750edba190343a001d8fe03b881 /doc | |
| parent | ed4b51962ea5494b92e0d078916558cab27a836a (diff) | |
| download | emacs-9a6523dfd68a17ebf7049d2aae3fd02386d7cb04.tar.gz emacs-9a6523dfd68a17ebf7049d2aae3fd02386d7cb04.zip | |
* lisp/frame.el (delete-other-frames): Add universal prefix `iconify` arg
(frame--current-backround-mode): New function,
extracted from `frame-set-background-mode`. Use `color-dark-p`.
(frame-set-background-mode): Use it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/frames.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index cd2ff8f3b31..a9d20c543da 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -2628,7 +2628,7 @@ When Emacs gets one of these commands, it generates a | |||
| 2628 | @code{delete-frame} event, whose normal definition is a command that | 2628 | @code{delete-frame} event, whose normal definition is a command that |
| 2629 | calls the function @code{delete-frame}. @xref{Misc Events}. | 2629 | calls the function @code{delete-frame}. @xref{Misc Events}. |
| 2630 | 2630 | ||
| 2631 | @deffn Command delete-other-frames &optional frame | 2631 | @deffn Command delete-other-frames &optional frame iconify |
| 2632 | This command deletes all frames on @var{frame}'s terminal, except | 2632 | This command deletes all frames on @var{frame}'s terminal, except |
| 2633 | @var{frame}. If @var{frame} uses another frame's minibuffer, that | 2633 | @var{frame}. If @var{frame} uses another frame's minibuffer, that |
| 2634 | minibuffer frame is left untouched. The argument @var{frame} must | 2634 | minibuffer frame is left untouched. The argument @var{frame} must |
| @@ -2639,6 +2639,9 @@ this command works by calling @code{delete-frame} with @var{force} | |||
| 2639 | This function does not delete any of @var{frame}'s child frames | 2639 | This function does not delete any of @var{frame}'s child frames |
| 2640 | (@pxref{Child Frames}). If @var{frame} is a child frame, it deletes | 2640 | (@pxref{Child Frames}). If @var{frame} is a child frame, it deletes |
| 2641 | @var{frame}'s siblings only. | 2641 | @var{frame}'s siblings only. |
| 2642 | |||
| 2643 | With the prefix argument @var{iconify}, the frames are iconified rather | ||
| 2644 | than deleted. | ||
| 2642 | @end deffn | 2645 | @end deffn |
| 2643 | 2646 | ||
| 2644 | 2647 | ||