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:no-spam@cua.dk]
Sent: Friday, October 01, 2004 10:08 AM
To: Drew Adams
Cc: bug-gnu-emacs@gnu.org
Subject: Re: set-window-buffer also sets window margins to zero


"Drew Adams" <drew.adams@oracle.com> 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]