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

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

Re: any way to get white margin around text?


From: Omar Polo
Subject: Re: any way to get white margin around text?
Date: Thu, 24 Dec 2020 20:19:06 +0100
User-agent: mu4e 1.4.13; emacs 27.1

Drew Adams <drew.adams@oracle.com> writes:

>> set-window-margin should do what you're saying.  For instance
>> 
>>     (set-window-margin (get-buffer-window) 4 4)
>> 
>> will set the borders on both sides to 4 columns, without affecting the
>> buffer content.  The fringe will be between the margin and the buffer
>> content though.
>
> `set-window-margins', not `set-window-margin'.

Ops, I tried it in the scratch buffer, but for some reason I decided to
re-type it by hand.



reply via email to

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