Mercurial > hg > dotemacs
changeset 90:b1915cf8617c
Whitespace fixes
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 29 Apr 2014 10:48:43 -0400 |
parents | 5bc8b43bfb68 |
children | 5e4d85c82723 |
files | dotemacs.el |
diffstat | 1 files changed, 24 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/dotemacs.el +++ b/dotemacs.el @@ -1,3 +1,4 @@ + (add-to-list 'load-path "~/.emacs.d/packages/") (defalias 'perl-mode 'cperl-mode) @@ -74,7 +75,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 @@ -167,9 +168,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 @@ -180,23 +181,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-forwardefin-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-forwardefin-hscroll))) (setq doc-view-continuous t) @@ -211,11 +212,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. @@ -310,4 +311,3 @@ '(rst-level-3-face ((t (:background "grey10"))) t) '(show-ws-tab ((t (:background "Black")))) '(stripes-face ((t (:background "#444"))))) -