help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [solved] Re: How to open full window programmatically?


From: Emanuel Berg
Subject: Re: [solved] Re: How to open full window programmatically?
Date: Thu, 03 Dec 2020 10:40:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

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

I didn't do much but I'll take it, you're welcome :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]