emacs-devel
[Top][All Lists]
Advanced

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

Re: How to keep window margins after switching buffers?


From: martin rudalics
Subject: Re: How to keep window margins after switching buffers?
Date: Sun, 25 Apr 2021 19:12:00 +0200

> I have rather aesthetical need to have window margins, I use it as:
>
> (set-window-margins (get-buffer-window) 10 10)
>
> But when I switch to other buffer and come back margins disappea.
>
> Would there any way to keep margins for specific buffer even after
> switching?

I suppose you want to set `left-margin-width' and `right-margin-width'
for that buffer instead.

martin



reply via email to

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