changeset 87924:dab0b3c87425

(gpm-mouse-start): Declare as a function.
author Glenn Morris <rgm@gnu.org>
date Thu, 24 Jan 2008 04:48:13 +0000
parents d3fad2e8cdfb
children c5528b187300
files lisp/t-mouse.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/t-mouse.el	Thu Jan 24 04:46:59 2008 +0000
+++ b/lisp/t-mouse.el	Thu Jan 24 04:48:13 2008 +0000
@@ -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