summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 07:12:11 +0000
committernoa@gaiwan.org2024-06-13 07:12:11 +0000
commit3f30df0fa5eb9d14dc4d47ebe2dc65cc415a527d (patch)
tree7204a2e7bd4d6b703995a86b2165e1adc894bcd0
parent1c3ebf9205025b1563d72ec5e9ed9abbe08250a8 (diff)
Update indentation for various forms
-rw-r--r--emacs/init.el35
1 files changed, 18 insertions, 17 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 92eeca6..f8d1a95 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -4,15 +4,17 @@
 
 (setq garbage-collection-messages t)
 (add-hook 'emacs-startup-hook
-	#'(lambda ()
-		(message (format "Initialised in %s seconds with %s garbage collections." (emacs-init-time) gcs-done))
-		;;; reset garbage collector
-		(setq
-			gc-cons-threshold 800000
-			gc-cons-percentage 0.2)))
+          #'(lambda ()
+              (message (format "Initialised in %s seconds with %s garbage collections." (emacs-init-time) gcs-done))
+                ;;; reset garbage collector
+              (setq
+               gc-cons-threshold 800000
+               gc-cons-percentage 0.2)))
 
 (setopt user-mail-address "noa@gaiwan.org")
 
+(setopt indent-tabs-mode nil)
+
 ;; properly distinguish these chords from their ascii legacy
 (define-key input-decode-map [?\C-m] [C-m])
 
@@ -109,10 +111,9 @@
 (use-package jabber
   :ensure t
   :init
-  (setq noa/jabber-activity-dont-show '(
-					"#tildetown%town@irc.hmm.st"
-					"#meta%tilde.chat@irc.hmm.st"
-					"hmm@conference.hmm.st"))
+  (setq noa/jabber-activity-dont-show '("#tildetown%town@irc.hmm.st"
+                                        "#meta%tilde.chat@irc.hmm.st"
+                                        "hmm@conference.hmm.st"))
   (defun noa/jabber-activity-show-p (jid)
     "Return non-nil if JID should be hidden.
 A JID should be hidden when there is an invisible buffer for JID,
@@ -120,13 +121,13 @@ when JID is not in `noa/jabber-activity-dont-show',
 and when JID is not in `jabber-activity-banned'."
     (let ((buffer (jabber-activity-find-buffer-name jid)))
       (and (buffer-live-p buffer)
-	   (not (get-buffer-window buffer 'visible))
-	   (not (cl-dolist (entry jabber-activity-banned)
-		  (when (string-match entry jid)
-		    (cl-return t))))
-	   (not (cl-dolist (entry noa/jabber-activity-dont-show)
-		  (when (string-match entry jid)
-		    (cl-return t)))))))
+           (not (get-buffer-window buffer 'visible))
+           (not (cl-dolist (entry jabber-activity-banned)
+                  (when (string-match entry jid)
+                    (cl-return t))))
+           (not (cl-dolist (entry noa/jabber-activity-dont-show)
+                  (when (string-match entry jid)
+                    (cl-return t)))))))
   :custom
   (jabber-history-enabled t)
   (jabber-account-list '(("noa@hmm.st")))