Permalink
Browse files

Hint Emacs that the Tab Stop of the files are 4 spaces.

I default the tab-size to 8 here - and many other will do the same. To
avoid trouble, we simply hint Emacs what the intended size of a tab is
(4) and let it handle tabs and spaces. It also opens for dropping more
settings to coerce Emacs into being nice.
  • Loading branch information...
1 parent 1bb458c commit 44a5bb4852a61930bb58e280b2bf6c328670d862 @jlouis jlouis committed Jan 28, 2011
Showing with 9 additions and 0 deletions.
  1. +1 −0 src/agner.erl
  2. +1 −0 src/agner_app.erl
  3. +1 −0 src/agner_download.erl
  4. +1 −0 src/agner_github.erl
  5. +1 −0 src/agner_index.erl
  6. +1 −0 src/agner_server.erl
  7. +1 −0 src/agner_spec.erl
  8. +1 −0 src/agner_sup.erl
  9. +1 −0 src/agner_utils.erl
View
1 src/agner.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner).
-include_lib("agner.hrl").
-export([start/0,stop/0]).
View
1 src/agner_app.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_app).
-behaviour(application).
View
1 src/agner_download.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_download).
-export([fetch/2]).
%% internal exports
View
1 src/agner_github.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_github, [Account]).
-behaviour(agner_index).
-include_lib("agner.hrl").
View
1 src/agner_index.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_index).
-export([behaviour_info/1]).
View
1 src/agner_server.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_server).
-include_lib("agner.hrl").
-include_lib("typespecs/include/typespecs.hrl").
View
1 src/agner_spec.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_spec).
-include_lib("agner.hrl").
-export([parse/1, list_to_version/2, version_to_list/1]).
View
1 src/agner_sup.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_sup).
-behaviour(supervisor).
View
1 src/agner_utils.erl
@@ -1,3 +1,4 @@
+%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_utils).
-export([launch_browser/1]).

0 comments on commit 44a5bb4

Please sign in to comment.