Skip to content

Commit

Permalink
comment out find file hook
Browse files Browse the repository at this point in the history
  • Loading branch information
HashNuke committed Jul 4, 2015
1 parent d3d1569 commit a34e9c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@
(add-hook 'before-save-hook 'delete-trailing-whitespace)

;; when opening a file, don't change working dir to parent dir of the file
(add-hook 'find-file-hook
(lambda ()
(setq default-directory command-line-default-directory)))
;; (add-hook 'find-file-hook
;; (lambda ()
;; (setq default-directory command-line-default-directory)))

0 comments on commit a34e9c7

Please sign in to comment.