aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/edit_window.erl
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2011-10-14 05:45:42 +0200
committerFelix Lange <fjl@twurst.com>2011-10-14 05:45:42 +0200
commitbd5145368593e09460d4461256ee4f934b2ebf26 (patch)
tree471852782d61d64bede27d67552eb79af0a598aa /src/edit_window.erl
parent90640c1aed302fd83a500bb9ccdfb6cf7b481112 (diff)
downloadermacs-fork-bd5145368593e09460d4461256ee4f934b2ebf26.tar.gz
remove cruft
cruft includes: - module header comments (yikes..) - author attributes (sorry luke) - old guard tests
Diffstat (limited to 'src/edit_window.erl')
-rw-r--r--src/edit_window.erl12
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}.