Skip to content

Commit

Permalink
added "./" to list of lookup paths so we can find .hrl files placed i…
Browse files Browse the repository at this point in the history
…n the same

dir as the current source file
  • Loading branch information
Robin Osterberg authored and Robin Osterberg committed Aug 2, 2011
1 parent dc54c77 commit 86b7f98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elisp/erlookup.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ by `find-file'."
do (if (string-equal ".." (first (split-string path "/")))
(push (expand-file-name (substring-no-properties path)) paths)
(push (concat r "/" path) paths)))
(push (concat "./" path) paths)
paths))

(defun try-open-file (path)
Expand Down

0 comments on commit 86b7f98

Please sign in to comment.