From f0ed016efcd3ad2fceaebd00808221182f58227e Mon Sep 17 00:00:00 2001 From: James Nguyen Date: Sun, 14 Jan 2018 11:30:16 -0800 Subject: [PATCH] Indium: Declare functions --- evil-collection-indium.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/evil-collection-indium.el b/evil-collection-indium.el index 21d3ded..f9d6665 100644 --- a/evil-collection-indium.el +++ b/evil-collection-indium.el @@ -99,11 +99,14 @@ (kbd "C-k") 'indium-repl-previous-input)) ;; FIXME: It would be better for these to go upstream. +(declare-function indium-breakpoint-on-current-line-p "indium-breakpoint") +(declare-function indium-remove-breakpoint "indium-interaction") +(declare-function indium-add-breakpoint "indium-interaction") + (defun evil-collection-indium-debugger-toggle-breakpoint () "Toggle breakpoint at point." (interactive) - (if (and (fboundp 'indium-breakpoint-on-current-line-p) - (indium-breakpoint-on-current-line-p)) + (if (indium-breakpoint-on-current-line-p) (call-interactively #'indium-remove-breakpoint) (call-interactively #'indium-add-breakpoint)))