branch: elpa/haskell-tng-mode
commit a14a2c24c0f992d01a557dd9a53539be01ec8234
Author: Tseen She <ts33n....@gmail.com>
Commit: Tseen She <ts33n....@gmail.com>

    allow dir locals for the -as lookups
---
 haskell-tng-hsinspect.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index 4320e49..6996c0f 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -52,6 +52,7 @@ A prefix argument ensures that caches are flushes."
     ("Data.ByteString" . "BS")
     ("Data.ByteString.Lazy" . "LBS"))
   "An alist of (MODULE . NAME) to use for qualified imports.")
+(put 'haskell-tng-hsinspect-as 'safe-local-variable #'listp)
 
 (defcustom haskell-tng-hsinspect-qualify nil
   "`haskell-tng-import-symbol-at-point' will prefer qualified imports."

Reply via email to