diff options
Diffstat (limited to 'src/edit_window.erl')
-rw-r--r-- | src/edit_window.erl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/edit_window.erl b/src/edit_window.erl index a14c047..1ef1b06 100644 --- a/src/edit_window.erl +++ b/src/edit_window.erl @@ -1,14 +1,6 @@ -%%%---------------------------------------------------------------------- -%%% File : edit_window.erl -%%% Author : Luke Gorrie <luke@bluetail.com> -%%% Purpose : Window handling functions -%%% Created : 14 Oct 2000 by Luke Gorrie <luke@bluetail.com> -%%%---------------------------------------------------------------------- - -module(edit_window). --author('luke@bluetail.com'). --include_lib("ermacs/include/edit.hrl"). +-include("edit.hrl"). -compile(export_all). %%-export([Function/Arity, ...]). @@ -39,7 +31,7 @@ width(W) -> %% the window knows where it's up to. attach(Window, Buffer) -> attach(Window, Buffer, 1). -attach(Window, Buffer, Start) -> +attach(Window, Buffer, _Start) -> edit_buf:add_mark(Buffer, Window#window.start_mark, 1, backward), Window#window{buffer=Buffer}. |