Skip to content

Commit d479931

Browse files
committed
Complete things with tags iff tags-on-save is t
1 parent 95428b1 commit d479931

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

haskell-completions.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ PREFIX should be a list such one returned by
296296
('haskell-completions-language-extension-prefix
297297
haskell-ghc-supported-extensions)
298298
(otherwise
299-
(append tags-completion-table
299+
(append (when (bound-and-true-p haskell-tags-on-save)
300+
tags-completion-table)
300301
haskell-completions--keywords)))))
301302
(list beg end candidates)))))
302303

0 commit comments

Comments
 (0)