Skip to content

Commit

Permalink
Remove autosave hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacy committed Oct 5, 2011
1 parent f75471a commit eff9a25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions anything-c-adaptive-history
@@ -1,3 +1,3 @@
;; -*- mode: emacs-lisp -*-
;; History entries used for anything adaptive display.
(setq anything-c-adaptive-history (quote nil))
;; -*- mode: emacs-lisp -*-
;; History entries used for anything adaptive display.
(setq anything-c-adaptive-history (quote nil))
5 changes: 1 addition & 4 deletions init.el
Expand Up @@ -246,8 +246,7 @@

(global-set-key (kbd "C-x i") 'iwb)


(add-hook 'before-save-hook (lambda () (delete-trailing-whitespace)))
;;(add-hook 'before-save-hook (lambda () (delete-trailing-whitespace)))

(setq next-line-add-newlines t)

Expand Down Expand Up @@ -687,8 +686,6 @@ This is the same as using \\[set-mark-command] with the prefix argument."
(message "Opening file...")
(message "Aborting")))

(add-hook 'before-save-hook 'whitespace-cleanup)

(add-hook 'java-mode-hook (lambda () (subword-mode)))


Expand Down

0 comments on commit eff9a25

Please sign in to comment.