Permalink
Browse files

init_web.el: Prepend file:// to local hyperspec URLs.

  • Loading branch information...
1 parent 06ec591 commit ffb86671795a4130850f5a985dadbabf26bf026e @stassats committed Apr 10, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 init_web.el
View
9 init_web.el
@@ -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.