emacs-devel
[Top][All Lists]
Advanced

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

Re: ls in eshell will cause the prompt jumped to mid of buf


From: William Xue
Subject: Re: ls in eshell will cause the prompt jumped to mid of buf
Date: Sat, 29 Sep 2007 11:31:59 +0800
User-agent: Opera Mail/9.50 (Win32)

On Sat, 29 Sep 2007 02:07:02 +0800, Glenn Morris <address@hidden> wrote:

"William Xue" wrote:

Can I set the 'scroll-margin' to 0 only for 'eshell'? I have tried
something on load hook, but failed.

(add-hook 'eshell-mode-hook
   (lambda () (set (make-local-variable 'scroll-margin) 0)))

Eh, yes, make-local-variable.

Thank you very much!

--
Yours,
WilliamX




reply via email to

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