add emacs variables to all source files
authorChristian Thaeter <ct@pipapo.org>
Tue, 22 Jan 2008 18:01:09 +0000 (19:01 +0100)
committerChristian Thaeter <ct@pipapo.org>
Tue, 22 Jan 2008 18:01:09 +0000 (19:01 +0100)
we use 'gnu' style with spaces, no tabs

27 files changed:
src/actions.c
src/actions.h
src/age.c
src/age.h
src/branch.c
src/branch.h
src/llist.h
src/log.c
src/log.h
src/object.c
src/object.h
src/object_blob.c
src/object_commit.c
src/object_tag.c
src/object_tree.c
src/options.c
src/options.h
src/query.c
src/query.h
src/repo.c
src/repo.h
src/summary.c
src/summary.h
src/tag.c
src/tag.h
src/webgit.c
src/webgit.h

index db85d7c..f89aee7 100644 (file)
@@ -506,3 +506,11 @@ webgit_action_dispatch (struct webgit_query* query)
 }
 
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 204d4e6..592e28a 100644 (file)
@@ -46,3 +46,11 @@ Html
 webgit_action_dispatch (struct webgit_query* query);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index b1f702c..200ffb3 100644 (file)
--- a/src/age.c
+++ b/src/age.c
@@ -48,4 +48,10 @@ webgit_pretty_age (unsigned long age)
     return html_fmt("%d years ago", age / (60 * 60 * 24 * 365));
 }
 
-
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 107d985..45022f6 100644 (file)
--- a/src/age.h
+++ b/src/age.h
@@ -28,3 +28,11 @@ webgit_pretty_age (unsigned long age);
 
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 10e31c0..9d5b562 100644 (file)
@@ -159,3 +159,11 @@ webgit_branch_table (struct webgit_repo_info* repo, const char* head, int count)
 
   return html (html( html_tag ("table", html_attr ("id", "branch-context")), ctx.table), ctx.cont);
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index ef7961c..ad4146d 100644 (file)
@@ -30,3 +30,11 @@ Html
 webgit_branch_link (struct webgit_repo_info* repo, const char* branch, int count, Html text);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 464f4dc..a478b08 100644 (file)
@@ -533,3 +533,11 @@ LLIST_FUNC (LList llist_get_nth_stop (LList self, int n, const_LList stop),
 // arch-tag: e8fe4a59-fd55-4c45-b860-5cd1e0771213
 // end_of_file
 */
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 4638350..6d2945d 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -203,3 +203,11 @@ webgit_log_content_action (struct webgit_query* query)
 
   return webgit_log_table (query, object, query->count, 1);
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index e1bc6b9..0e69e31 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -41,3 +41,11 @@ Html
 webgit_log_table (struct webgit_query* query, const char* object, int count, int msg_flag);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 16fd635..90ed974 100644 (file)
@@ -46,3 +46,11 @@ webgit_object_link (struct webgit_query* query,
                text
                );
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 3201794..b0869c5 100644 (file)
@@ -97,3 +97,11 @@ webgit_object_tag_action (struct webgit_repo_info* repo, unsigned char* sha1);
 
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 6d351cf..743bbc5 100644 (file)
@@ -89,3 +89,11 @@ webgit_object_blob_action (struct webgit_repo_info* repo, unsigned char* sha1)
               html(html_tag("div"), webgit_object_blob_content_action (repo, sha1, buf, size)), html_nl ()
               );
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 780ae79..142dc91 100644 (file)
@@ -366,3 +366,11 @@ webgit_object_commit_action (struct webgit_repo_info* repo, unsigned char* sha1)
                     ), html_nl ()
               );
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 2e0c5c1..3937b96 100644 (file)
@@ -225,3 +225,11 @@ webgit_object_tag_action (struct webgit_repo_info* repo, unsigned char* sha1)
 }
 
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index a14c51e..af7adc1 100644 (file)
@@ -170,3 +170,11 @@ webgit_object_tree_action (struct webgit_repo_info* repo, unsigned char* sha1)
               );
 }
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 547ea30..407920f 100644 (file)
@@ -202,3 +202,11 @@ webgit_configfile_dispatch (const char* file, struct webgit_query* query)
   return 0;
 }
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 00c1a99..9b7bece 100644 (file)
@@ -47,3 +47,11 @@ int
 webgit_configfile_dispatch (const char* file, struct webgit_query* query);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index c7fe49d..7ae3136 100644 (file)
@@ -234,3 +234,11 @@ webgit_param_dispatch (const Cgi self,
         }
     }
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index feb99df..23104de 100644 (file)
@@ -57,3 +57,11 @@ webgit_param_dispatch (const Cgi self,
                       void* user_data);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index b2dafb7..188eef0 100644 (file)
@@ -387,3 +387,11 @@ webgit_repoinfo_free (struct webgit_repo_info* self)
       free (self);
     }
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index f6b5212..4a0e702 100644 (file)
@@ -68,3 +68,11 @@ struct webgit_repo_info*
 webgit_repo_enter (struct webgit_query* query);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index e42e355..02dd9f9 100644 (file)
@@ -37,3 +37,11 @@ webgit_summary_link (struct webgit_query* query, struct webgit_repo_info* n, Htm
 
 
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 4736668..a91076d 100644 (file)
@@ -27,3 +27,11 @@ Html
 webgit_summary_link (struct webgit_query* query, struct webgit_repo_info* n, Html text);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 5989897..d5e69c8 100644 (file)
--- a/src/tag.c
+++ b/src/tag.c
@@ -177,3 +177,11 @@ webgit_tag_table (struct webgit_repo_info* repo, const char* head, int count)
 
   return html (html (html_tag ("table", html_attr ("id", "tag")), ctx.table), ctx.cont);
 }
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index fb967f2..f06d5c8 100644 (file)
--- a/src/tag.h
+++ b/src/tag.h
@@ -32,3 +32,11 @@ Html
 webgit_tag_link (struct webgit_repo_info* repo, const char* tag, int count, Html text);
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index b860e29..81d4a7a 100644 (file)
@@ -326,3 +326,11 @@ main (int argc, char**argv)
   return 10;
 }
 
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/
index 79b2a6d..61bcb2f 100644 (file)
@@ -99,3 +99,11 @@ webgit_warn (const char *err, ...);
 
 
 #endif
+
+/*
+//      Local Variables:
+//      mode: C
+//      c-file-style: "gnu"
+//      indent-tabs-mode: nil
+//      End:
+*/