summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el30
1 files changed, 15 insertions, 15 deletions
diff --git a/init.el b/init.el
index e3eba87..440416d 100644
--- a/init.el
+++ b/init.el
@@ -27,8 +27,8 @@
(require 'package)
(add-to-list 'package-archives
- '("melpa" . "http://melpa.milkbox.net/packages/")
- '("marmalade" . "http://marmalade-repo.org/packages/"))
+ '("melpa" . "http://melpa.milkbox.net/packages/")
+ '("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
; sublime-themes must be installed
@@ -127,7 +127,7 @@
(setq vc-make-backup-files t)
(autoload 'markdown-mode "markdown-mode"
- "Major mode for editing Markdown files" t)
+ "Major mode for editing Markdown files" t)
(autoload 'js2-mode "js2-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
@@ -174,15 +174,15 @@
(ido-mode 1)
;; hit ~ to go straight to the home directory in ido mode
(add-hook 'ido-setup-hook
- (lambda ()
- ;; Go straight home
- (define-key ido-file-completion-map
- (kbd "~")
- (lambda ()
- (interactive)
- (if (looking-back "/")
- (insert "~/")
- (call-interactively 'self-insert-command))))))
+ (lambda ()
+ ;; Go straight home
+ (define-key ido-file-completion-map
+ (kbd "~")
+ (lambda ()
+ (interactive)
+ (if (looking-back "/")
+ (insert "~/")
+ (call-interactively 'self-insert-command))))))
;; Use ido everywhere
(require 'ido-ubiquitous)
@@ -201,7 +201,7 @@
(set-face-attribute 'whitespace-space nil :background nil :foreground "gray20")
(set-face-attribute 'whitespace-newline nil :background nil :foreground "gray20")
(setq whitespace-style
- '(face spaces tabs newline space-mark tab-mark newline-mark))
+ '(face spaces tabs newline space-mark tab-mark newline-mark))
(setq whitespace-display-mappings
;; all numbers are Unicode codepoint in decimal. try
;; (insert-char 182 ) to see it
@@ -233,8 +233,8 @@
;; remove prompt on killing process buffer
(setq kill-buffer-query-functions
- (remq 'process-kill-buffer-query-function
- kill-buffer-query-functions))
+ (remq 'process-kill-buffer-query-function
+ kill-buffer-query-functions))
;; enable narrow-to-region feature
(put 'narrow-to-region 'disabled nil)