defvar -> defconst.

This commit is contained in:
Kazu Yamamoto
2010-06-14 12:03:14 +09:00
parent f30eb343b0
commit 2e28a09aa9
5 changed files with 19 additions and 11 deletions

View File

@@ -34,8 +34,8 @@
(when (looking-at "^haddock-html: \\([^ \n]+\\)$")
(match-string-no-properties 1))))
(defvar ghc-doc-local-format "file://%s/%s.html")
(defvar ghc-doc-hackage-format
(defconst ghc-doc-local-format "file://%s/%s.html")
(defconst ghc-doc-hackage-format
"http://hackage.haskell.org/packages/archive/%s/latest/doc/html/%s.html")
(defun ghc-display-document (pkg mod haskell-org)