summaryrefslogtreecommitdiff
path: root/lisp/t-mouse.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-01-24 04:49:39 +0000
committerGlenn Morris <rgm@gnu.org>2008-01-24 04:49:39 +0000
commit478975a92ab0e5d966082be1b565bb3792bfd987 (patch)
treee62b80c6ef96f037599e8419ef282fd233f203f1 /lisp/t-mouse.el
parent881c0f33dde8ea52d1dff18969cb843b96c3aad1 (diff)
downloademacs-478975a92ab0e5d966082be1b565bb3792bfd987.tar.gz
(gpm-mouse-start): Declare as a function.
Diffstat (limited to 'lisp/t-mouse.el')
-rw-r--r--lisp/t-mouse.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el
index 1a000f37470..a89fe142551 100644
--- a/lisp/t-mouse.el
+++ b/lisp/t-mouse.el
@@ -4,7 +4,8 @@
;; Maintainer: FSF
;; Keywords: mouse gpm linux
-;; Copyright (C) 1994, 1995, 1998, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 1995, 1998, 2006, 2007, 2008
+;; Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
@@ -39,6 +40,9 @@
;;; Code:
+;; Prevent warning when compiling in an Emacs without gpm support.
+(declare-function gpm-mouse-start "term.c" ())
+
;;;###autoload
(define-obsolete-function-alias 't-mouse-mode 'gpm-mouse-mode "23.1")
;;;###autoload