summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-04 18:55:03 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-04 18:55:03 +0100
commitd3f7309cbdd0b27e0b496fb82464b5ec67651c7f (patch)
tree0faf1f0bf47718ea3c18c98d1857abf182d8caf0
parente22ee8b8a39933c8d662894a3b96b07337c4f536 (diff)
downloadorg-mode-d3f7309cbdd0b27e0b496fb82464b5ec67651c7f.tar.gz
org-irc: Silence byte-compiler
-rw-r--r--lisp/org-irc.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/org-irc.el b/lisp/org-irc.el
index 5889f6d..3617ae9 100644
--- a/lisp/org-irc.el
+++ b/lisp/org-irc.el
@@ -50,18 +50,20 @@
(require 'org)
-;; Declare the function form ERC that we use.
+(declare-function erc-buffer-filter "erc" (predicate &optional proc))
+(declare-function erc-channel-p "erc" (channel))
+(declare-function erc-cmd-JOIN "erc" (channel &optional key))
(declare-function erc-current-logfile "erc-log" (&optional buffer))
-(declare-function erc-prompt "erc" ())
(declare-function erc-default-target "erc" ())
-(declare-function erc-channel-p "erc" (channel))
-(declare-function erc-buffer-filter "erc" (predicate &optional proc))
-(declare-function erc-server-buffer "erc" ())
(declare-function erc-get-server-nickname-list "erc" ())
-(declare-function erc-cmd-JOIN "erc" (channel &optional key))
+(declare-function erc-logging-enabled "erc-log" (&optional buffer))
+(declare-function erc-prompt "erc" ())
+(declare-function erc-save-buffer-in-logs "erc-log" (&optional buffer))
+(declare-function erc-server-buffer "erc" ())
(defvar org-irc-client 'erc
"The IRC client to act on.")
+
(defvar org-irc-link-to-logs nil
"Non-nil will store a link to the logs, nil will store an irc: style link.")