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

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

Re: Make fullscreen with margins


From: Michael Heerdegen
Subject: Re: Make fullscreen with margins
Date: Sun, 22 Nov 2020 15:34:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

> I actually used
>
> (if (one-window-p)

Should be ok, yes.

> Here is the code.  Would you be so kind to comment if this can be
> improved?

If you are happy with what it does, and `margined-buffer' is a function
you defined, I think you can use that.

If you intend to distribute your code, your function names should get an
according prefix.  If not, it's still better to use a prefix like "my-"
or so, for the sake that it will later be obvious that that is your own
function.  That will prevent later confusion, for yourself, or if you
post your code etc.

Regards,

Michael.



reply via email to

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