Skip to content

Commit

Permalink
Merge pull request #139 from pao/patch-1
Browse files Browse the repository at this point in the history
Fix opening docs in eww in Windows (again)
  • Loading branch information
kidd committed Aug 2, 2016
2 parents 3f997ef + f98a5bd commit bf80144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-dash.el
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ candidate opts."
(list (car docset) row)))

(defun helm-dash-result-url (docset-name filename &optional anchor)
"Return the full, absolute URL to documentation: either a file:// URL joining
"Return the full, absolute URL to documentation: either a file:/// URL joining
DOCSET-NAME, FILENAME & ANCHOR with sanitization of spaces or a http(s):// URL
formed as-is if FILENAME is a full HTTP(S) URL."
(let ((path (format "%s%s" filename (if anchor (format "#%s" anchor) ""))))
Expand All @@ -468,7 +468,7 @@ formed as-is if FILENAME is a full HTTP(S) URL."
" "
"%20"
(concat
"file://"
"file:///"
(expand-file-name "Contents/Resources/Documents/" (helm-dash-docset-path docset-name))
path)))))

Expand Down

0 comments on commit bf80144

Please sign in to comment.