all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.