unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How to keep window margins after switching buffers?
@ 2021-04-25 15:41 Jean Louis
  2021-04-25 17:12 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Louis @ 2021-04-25 15:41 UTC (permalink / raw)
  To: Help GNU Emacs


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?

Jean



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-25 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-25 15:41 How to keep window margins after switching buffers? Jean Louis
2021-04-25 17:12 ` martin rudalics
2021-04-25 17:34   ` Jean Louis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).