branch: master
commit 81e14ce50543efd682468fdae433dfb6cc37bc62
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-semantic): Fix warnings
---
Makefile | 6 +++++-
counsel.el | 4 ++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 649949e..2af68f8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
emacs ?= emacs
+elmake = $(emacs) -batch -l makefi.el -f
LOAD = -l colir.el -l ivy.el -l swiper.el -l counsel.el
@@ -16,7 +17,10 @@ plain:
obsolete:
$(emacs) -batch -l targets/obsolete-config.el
+update-issues:
+ $(elmake) update-issues
+
clean:
rm -f *.elc
-.PHONY: all compile clean test
+.PHONY: all compile clean test update-issues
diff --git a/counsel.el b/counsel.el
index 27754f4..de53445 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2141,6 +2141,10 @@ And insert it into the minibuffer. Useful during
:action #'call-interactively)
(hydra-keyboard-quit)))
;;** `counsel-semantic'
+(declare-function semantic-tag-start "tag")
+(declare-function semantic-tag-of-class-p "tag")
+(declare-function semantic-fetch-tags "semantic")
+
(defun counsel-semantic-action (tag)
(with-ivy-window
(goto-char (semantic-tag-start tag))))