changeset 194:6ad571bbb951

Remove tabs!
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Tue, 26 Nov 2019 14:29:42 -0500
parents 523ffc74c020
children 8ef7ef4aad42
files dotemacs.el
diffstat 1 files changed, 23 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/dotemacs.el
+++ b/dotemacs.el
@@ -167,7 +167,7 @@
 
 ;; Only killing the current buffer is useful (thanks to madpickle of #emacs)
 (global-set-key (kbd "C-x k")
-		(lambda () (interactive) (kill-buffer (current-buffer))))
+    (lambda () (interactive) (kill-buffer (current-buffer))))
 
 ;; I never use this function, and I frequently typo it when trying to
 ;; hit C-x C-f
@@ -279,9 +279,9 @@
 
 ;; "Fix" the horrible asn1-mode mess
 (add-hook 'asn1-mode-hook
-	  (lambda ()
-	    (setq indent-line-function #'indent-relative)
-	    (setq case-fold-search t)))
+    (lambda ()
+      (setq indent-line-function #'indent-relative)
+      (setq case-fold-search t)))
 
 ;; vc-mode can't work with all of my hg customisations, but this
 ;; undoes most of them
@@ -292,23 +292,23 @@
 
 ;; Some info vi-like keybindings
 (add-hook 'Info-mode-hook
-	  (lambda ()
-	    (local-unset-key (kbd "l"))
-	    (local-set-key (kbd ";") 'Info-history-back)
-	    (local-set-key (kbd "h") 'backward-char)
-	    (local-set-key (kbd "l") 'forward-char)
-	    (local-set-key (kbd "j") 'next-line)
-	    (local-set-key (kbd "k") 'previous-line)
-	    (local-set-key (kbd "/") 'Info-search)))
+    (lambda ()
+      (local-unset-key (kbd "l"))
+      (local-set-key (kbd ";") 'Info-history-back)
+      (local-set-key (kbd "h") 'backward-char)
+      (local-set-key (kbd "l") 'forward-char)
+      (local-set-key (kbd "j") 'next-line)
+      (local-set-key (kbd "k") 'previous-line)
+      (local-set-key (kbd "/") 'Info-search)))
 
 ;; moar vi
 (add-hook 'doc-view-mode-hook
-	  (lambda ()
-	    (local-unset-key (kbd "k"))
-	    (local-set-key (kbd "j") 'doc-view-next-line-or-next-page)
-	    (local-set-key (kbd "k") 'doc-view-previous-line-or-previous-page)
-	    (local-set-key (kbd "h")  'image-backward-hscroll)
-	    (local-set-key (kbd "l")  'image-forward-hscroll)))
+    (lambda ()
+      (local-unset-key (kbd "k"))
+      (local-set-key (kbd "j") 'doc-view-next-line-or-next-page)
+      (local-set-key (kbd "k") 'doc-view-previous-line-or-previous-page)
+      (local-set-key (kbd "h")  'image-backward-hscroll)
+      (local-set-key (kbd "l")  'image-forward-hscroll)))
 
 (setq doc-view-continuous t)
 
@@ -323,11 +323,11 @@
   (aset buffer-display-table ?\^M []))
 
 (add-hook  'magit-mode-hook
-	   (lambda ()
-	     ;; I always run magit side-by-side to the code I'm reading
-	     (local-set-key (kbd "<RET>") (lambda ()
-					    (interactive)
-					    (magit-visit-item t)))))
+     (lambda ()
+       ;; I always run magit side-by-side to the code I'm reading
+       (local-set-key (kbd "<RET>") (lambda ()
+              (interactive)
+              (magit-visit-item t)))))
 
 (custom-set-variables
  ;; custom-set-variables was added by Custom.