Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opening docs in eww in Windows (again) #139

Merged
merged 1 commit into from
Aug 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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