Skip to content

Commit

Permalink
Disable eldoc backend when disabling the minor mode
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Mar 10, 2019
1 parent a3393c8 commit 2b42755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psc-ide.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
(setq-local company-tooltip-align-annotations t)
(setq-local eldoc-documentation-function #'psc-ide-show-type-eldoc)
(add-hook 'after-save-hook 'psc-ide-rebuild-on-save-hook nil t))
(kill-local-variable 'eldoc-documentation-function)
(remove-hook 'after-save-hook 'psc-ide-rebuild-on-save-hook t)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit 2b42755

Please sign in to comment.