We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf29f20 + 672b900 commit e726776Copy full SHA for e726776
haskell-mode.el
@@ -1205,8 +1205,8 @@ generated."
1205
(command (haskell-cabal--compose-hasktags-command dir)))
1206
(if (not command)
1207
(error "Unable to compose hasktags command")
1208
- (shell-command command)
1209
- (haskell-mode-message-line "Tags generated.")
+ (when (zerop (shell-command command))
+ (haskell-mode-message-line "Tags generated."))
1210
(when and-then-find-this-tag
1211
(let ((tags-file-name dir))
1212
(xref-find-definitions and-then-find-this-tag))))))
0 commit comments