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

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

RE: set-window-buffer also sets window margins to zero


From: Drew Adams
Subject: RE: set-window-buffer also sets window margins to zero
Date: Fri, 1 Oct 2004 10:15:48 -0700

Apologies. I didn't read the Emacs 21 doc-string.

Thanks, Kim.

-----Original Message-----
From: Kim F. Storm [mailto:address@hidden
Sent: Friday, October 01, 2004 10:08 AM
To: Drew Adams
Cc: address@hidden
Subject: Re: set-window-buffer also sets window margins to zero


"Drew Adams" <address@hidden> writes:

> (set-window-margins nil 2 2) ==> get 2-character window margins
>
> (set-window-buffer (selected-window) (current-buffer)) => no more
> window margins

(set-window-buffer (selected-window) (current-buffer) t) => keep margins.

-- 
Kim F. Storm  http://www.cua.dk






reply via email to

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