From 0d6cb24576aa85631a446f460a6842e9513e80b3 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sun, 28 Dec 2014 08:06:39 +0530
Subject: [PATCH] c style

---
 init.el | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/init.el b/init.el
index cb5f497..f7b0148 100644
--- a/init.el
+++ b/init.el
@@ -1,4 +1,4 @@
-;; Prevent the cursor from blinking
+; Prevent the cursor from blinking
 (blink-cursor-mode 0)
 (show-paren-mode 1)
 ;; y-or-n instead of yes-or-no
@@ -53,13 +53,12 @@
 ;; erc
 (require 'erc)
 (require 'tls)
-(setq tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof"))
+;; (setq tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof"))
 
 (erc-autojoin-mode t)
 (setq erc-autojoin-channels-alist
   '((".*\\.freenode.net" "#haskell-beginners")
-    (".*\\.oftc.net" "#LeastAuthority")
-    (".*\\.saju.net.in" "#cs")))
+    (".*\\.oftc.net" "#LeastAuthority")))
 
 ;; check channels
 (erc-track-mode t)
@@ -74,8 +73,7 @@
   (interactive)
   (when (y-or-n-p "Do you want to start IRC? ")
     (erc-tls :server "irc.freenode.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
-    (erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
-    (erc-tls :server "saju.net.in" :port 6697 :nick "ramki" :full-name "Ramakrishnan Muthukrishnan")))
+    (erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")))
 
 ;; switch to ERC with Ctrl+c e
 (global-set-key (kbd "C-c e") 'start-erc) ;; ERC
@@ -109,3 +107,8 @@
 ;; show trailing whitespaces
 (setq-default show-trailing-whitespace t)
 (setq-default indicate-empty-lines t)
+
+;; C style
+(setq c-default-style "k&r"
+      c-basic-offset 4)
+
-- 
2.45.2