summaryrefslogtreecommitdiff
path: root/lisp/follow.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-17 21:42:30 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-17 21:42:30 -0700
commit7e58af4b13a4fdd32cb052a08bc6a7121fd3a6a4 (patch)
treec68e40a6cac6241d4f3e321cf8854d1da0ec7a09 /lisp/follow.el
parent2f68e15795ebd53bfa776c2a7b3ee3dc49c774fc (diff)
downloademacs-7e58af4b13a4fdd32cb052a08bc6a7121fd3a6a4.tar.gz
* follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
(scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): Declare.
Diffstat (limited to 'lisp/follow.el')
-rw-r--r--lisp/follow.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/follow.el b/lisp/follow.el
index 2c9365b2ba6..32411914a19 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -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)