* follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 04:42:30 +0000 (21:42 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 04:42:30 +0000 (21:42 -0700)
(scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): Declare.

lisp/ChangeLog
lisp/follow.el

index a49549f..b39bf12 100644 (file)
        * faces.el (x-display-list, x-open-connection, x-get-resource):
        Declare.
 
+       * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
+       (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
+       Declare.
+
        * frame.el (x-display-grayscale-p, x-display-name): Declare.
 
        * simple.el (font-info): Declare.
index 2c9365b..3241191 100644 (file)
@@ -1,6 +1,6 @@
 ;;; follow.el --- synchronize windows showing the same buffer
-;; Copyright (C) 1995-1997, 1999, 2001-2013 Free Software Foundation,
-;; Inc.
+
+;; Copyright (C) 1995-1997, 1999, 2001-2013 Free Software Foundation, Inc.
 
 ;; Author: Anders Lindgren <andersl@andersl.com>
 ;; Maintainer: FSF (Anders' email bounces, Sep 2005)
@@ -1299,6 +1299,12 @@ non-first windows in Follow mode."
 ;; This handles the case where the user drags the scroll bar of a
 ;; non-selected window whose buffer is in Follow mode.
 
+(declare-function scroll-bar-toolkit-scroll "scroll-bar" (event))
+(declare-function scroll-bar-drag "scroll-bar" (event))
+(declare-function scroll-bar-scroll-up "scroll-bar" (event))
+(declare-function scroll-bar-scroll-down "scroll-bar" (event))
+(declare-function mwheel-scroll "mwheel" (event))
+
 (defun follow-scroll-bar-toolkit-scroll (event)
   (interactive "e")
   (scroll-bar-toolkit-scroll event)