aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/edit_buf.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_buf.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_buf.erl')
-rw-r--r--src/edit_buf.erl10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/edit_buf.erl b/src/edit_buf.erl
index 7d89741..af3044a 100644
--- a/src/edit_buf.erl
+++ b/src/edit_buf.erl
@@ -1,12 +1,4 @@
-%%%----------------------------------------------------------------------
-%%% File : edit_buf.erl
-%%% Author : Luke Gorrie <luke@bluetail.com>
-%%% Purpose : Buffer process
-%%% Created : 14 Sep 2000 by Luke Gorrie <luke@bluetail.com>
-%%%----------------------------------------------------------------------
-
-module(edit_buf).
--author('luke@bluetail.com').
-compile(export_all).
%%-export([Function/Arity, ...]).
@@ -32,7 +24,7 @@ new(Name) ->
Err
end.
-start_link(Name) when atom(Name) ->
+start_link(Name) when is_atom(Name) ->
case whereis(Name) of
undefined ->
Pid = proc_lib:spawn_link(?MODULE, init, [Name]),