emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 8306be1 006/272: Fix compilation warnings


From: Oleh Krehel
Subject: [elpa] master 8306be1 006/272: Fix compilation warnings
Date: Mon, 25 Apr 2016 10:13:13 +0000

branch: master
commit 8306be11c84a23e0ab3bcdd36cab1e5c16df8fbe
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Fix compilation warnings
    
    * Makefile: Don't load files before compilation.
    
    * ivy.el (swiper--cleanup):
    (swiper--add-overlays): Declare.
    
    Fixes #324
---
 Makefile |    2 +-
 ivy.el   |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b3857c9..5169643 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ test:
        $(emacs) -batch $(LOAD) -l ivy-test.el -f ert-run-tests-batch-and-exit
 
 compile:
-       $(emacs) -batch $(LOAD) --eval "(mapc #'byte-compile-file '(\"ivy.el\" 
\"swiper.el\" \"counsel.el\"))"
+       $(emacs) -batch --eval "(progn (add-to-list 'load-path 
default-directory) (mapc #'byte-compile-file '(\"ivy.el\" \"swiper.el\" 
\"counsel.el\")))"
 
 clean:
        rm -f *.elc
diff --git a/ivy.el b/ivy.el
index a0bbbd8..095482f 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2423,6 +2423,9 @@ EVENT gives the mouse position."
       (goto-char pos)
       (ivy-occur-press))))
 
+(declare-function swiper--cleanup "swiper")
+(declare-function swiper--add-overlays "swiper")
+
 (defun ivy-occur-press ()
   "Execute action for the current candidate."
   (interactive)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]