[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[solved] Re: How to open full window programmatically?
From: |
Jean Louis |
Subject: |
[solved] Re: How to open full window programmatically? |
Date: |
Thu, 3 Dec 2020 12:26:52 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2020-12-03 12:09]:
> Jean Louis wrote:
>
> >> What you're looking for is probably `delete-other-windows'.
> >> I have that M-p.
> >
> > That is interactively rather than programmatically.
>
> OK, here you have it, programmatically, then:
>
> (delete-other-windows)
(defun hyperscope-key ()
(interactive)
(let ((buffer "*HyperScope*"))
(get-buffer-create buffer)
(if hyperscope-full-window
(progn
(delete-other-windows)
(switch-to-buffer buffer))
(switch-to-buffer-other-window buffer))
(hyperscope)))
Thank you, I solved it this way.
- Re: How to open full window programmatically?, (continued)
- Re: How to open full window programmatically?, Jamie Beardslee, 2020/12/02
- Re: How to open full window programmatically?, Jean Louis, 2020/12/03
- Re: How to open full window programmatically?, Emanuel Berg, 2020/12/03
- Re: How to open full window programmatically?, Jean Louis, 2020/12/03
- Re: How to open full window programmatically?, Emanuel Berg, 2020/12/03
- Re: How to open full window programmatically?, Jean Louis, 2020/12/03
- Re: How to open full window programmatically?, Emanuel Berg, 2020/12/03
Re: How to open full window programmatically?, Emanuel Berg, 2020/12/02