Skip to content

Commit

Permalink
init_web.el: Prepend file:// to local hyperspec URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
stassats committed Apr 10, 2012
1 parent 06ec591 commit ffb8667
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions init_web.el
Expand Up @@ -20,7 +20,8 @@
(unless (get-buffer "*w3m*")
(w3m-buffer-setup))
(switch-to-buffer-other-window "*w3m*")
(w3m-browse-url (replace-in-string
url
"http://www.lispworks.com/.+/HyperSpec/"
common-lisp-hyperspec-root))))
(w3m-browse-url (concat "file://"
(replace-in-string
url
"http://www.lispworks.com/.+/HyperSpec/"
common-lisp-hyperspec-root)))))

0 comments on commit ffb8667

Please sign in to comment.