Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
BUG if ever you symlinked ~/.emacs -> ~/.emacs.d/init.el
Browse files Browse the repository at this point in the history
  • Loading branch information
parasitid committed Feb 9, 2015
1 parent 1ed93b2 commit e6bc7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
;; Figure out the path to our .emacs.d by getting the path part of the
;; current file (`init.el`).
(setq dotfiles-dir (file-name-directory
(or (buffer-file-name) load-file-name)))
(or (buffer-file-name) (file-chase-links load-file-name))))

;; We need to tell Emacs where to find Ohai Emacs's library packages.
(add-to-list 'load-path (concat dotfiles-dir "ohai"))
Expand Down

0 comments on commit e6bc7dc

Please sign in to comment.