Skip to content

Commit

Permalink
Just add trailing slash to `read-file-name' (#117).
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdone committed May 26, 2013
1 parent beed712 commit 96660cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions haskell-process.el
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,12 @@ to be loaded by ghci."
(defun haskell-read-directory-name (prompt default)
"Read in a directory name, properly normalized."
(let ((filename (file-truename
(ido-read-directory-name
(read-directory-name
prompt
default
default))))
filename))
(concat (replace-regexp-in-string "/$" "" filename)
"/")))

(defun haskell-process-change-dir (session process dir)
"Change the directory of the current process."
Expand Down

0 comments on commit 96660cb

Please sign in to comment.