Skip to content
This repository
Browse code

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...
commit 44a5bb4852a61930bb58e280b2bf6c328670d862 1 parent 1bb458c
Jesper Louis Andersen jlouis authored
1  src/agner.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner).
2 3 -include_lib("agner.hrl").
3 4 -export([start/0,stop/0]).
1  src/agner_app.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_app).
2 3
3 4 -behaviour(application).
1  src/agner_download.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_download).
2 3 -export([fetch/2]).
3 4 %% internal exports
1  src/agner_github.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_github, [Account]).
2 3 -behaviour(agner_index).
3 4 -include_lib("agner.hrl").
1  src/agner_index.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_index).
2 3 -export([behaviour_info/1]).
3 4
1  src/agner_server.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_server).
2 3 -include_lib("agner.hrl").
3 4 -include_lib("typespecs/include/typespecs.hrl").
1  src/agner_spec.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_spec).
2 3 -include_lib("agner.hrl").
3 4 -export([parse/1, list_to_version/2, version_to_list/1]).
1  src/agner_sup.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_sup).
2 3
3 4 -behaviour(supervisor).
1  src/agner_utils.erl
... ... @@ -1,3 +1,4 @@
  1 +%% -*- Mode: Erlang; tab-width: 4 -*-
1 2 -module(agner_utils).
2 3 -export([launch_browser/1]).
3 4

0 comments on commit 44a5bb4

Please sign in to comment.
Something went wrong with that request. Please try again.